CodeLobster IDE
http://codelobster.com/forum/

Debbuger not working
http://codelobster.com/forum/viewtopic.php?f=8&t=24546
Page 1 of 1

Author:  Newbie_2019 [ Sun Feb 17, 2019 12:55 pm ]
Post subject:  Debbuger not working

HI Guys

I am learning php and in order to run and debbug the code I installed the codelobster however when I go to var/www/html/Week_4_examples/wall1a/index.php it is not working , what am I missing?
I keep getting port number error


regards

Author:  Admin [ Sun Feb 17, 2019 1:37 pm ]
Post subject:  Re: Debbuger not working

Hi.

Do You have xDebug installed?

Thanks,
Codelobster Team.

Author:  Guest [ Sun Feb 17, 2019 2:19 pm ]
Post subject:  Re: Debbuger not working

Omg! thank you forthe prompt response :D ,and yes I do. However I am very new on this but I went to the preferences and I have installed apache2 ,mysql and php7.2, what should I do?

Author:  Guest [ Sun Feb 17, 2019 2:35 pm ]
Post subject:  Re: Debbuger not working

I just downloaded the file form the website , does it come with the xdebbuger , right?

Author:  Newbie_2019 [ Sun Feb 17, 2019 5:39 pm ]
Post subject:  Re: Debbuger not working

Attachment:
File comment: Here is the configuration
debug.png
debug.png [ 233.18 KiB | Viewed 190190 times ]

Please, I really appreciate any help I have never done this before , so what would be the next step after you install the codelobster? I mean it it is not in the xdebugger already or do I just have to go to preferences?because if so I already gone there but nothing

Author:  Admin [ Mon Feb 18, 2019 6:39 am ]
Post subject:  Re: Debbuger not working

Hi.

Could You, please, send us your php.ini file and output of the following PHP script:

Code:
<?php
print(phpinfo (INFO_ALL));
?>


Thanks,
Codelobster Team.

Author:  Newbie_2019 [ Mon Feb 18, 2019 4:52 pm ]
Post subject:  Re: Debbuger not working

Hey I took this print screen , is that enought? it is a local vm machine :)

Attachments:
this.png
this.png [ 196.8 KiB | Viewed 190182 times ]

Author:  Newbie_2019 [ Mon Feb 18, 2019 4:55 pm ]
Post subject:  Re: Debbuger not working

Hey I took this print screen , is that enought? it is a local vm machine :)

Attachments:
this.png
this.png [ 194.56 KiB | Viewed 190182 times ]

Author:  Admin [ Mon Feb 18, 2019 5:09 pm ]
Post subject:  Re: Debbuger not working

Hi.

1) We need the whole output (not top part only).
2) Could You, please, attach your php.ini file too.

Thanks,
Codelobster Team.

Author:  Newbie_2019 [ Wed Feb 20, 2019 12:38 am ]
Post subject:  Re: Debbuger not working

Ok thank you for your help.here it is the file, what is the next step?

Attachments:
php.ini [69.7 KiB]
Downloaded 11041 times

Author:  Admin [ Tue Mar 05, 2019 7:58 pm ]
Post subject:  Re: Debbuger not working

Hi.

1) You don't have xDebug installed.
Please, run the following command:

Code:
sudo apt-get install php-xdebug
sudo find / - name xdebug.so


And add the following lines into your php.ini file:

[XDebug]
zend_extension = "/usr/lib/php/" #the path of /xdebug.so from prevuious command here
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_autostart = 1
xdebug.var_display_max_depth = 3
xdebug.var_display_max_children = 256
xdebug.var_display_max_data = 1024
xdebug.max_nesting_level = 256

2) Please, set the following value into "Virtual Folder" field:
/var/www/html/

Regards,
Codelobster Team.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/