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

xdebug 3.0 not stopping at break points
http://codelobster.com/forum/viewtopic.php?f=3&t=25010
Page 1 of 1

Author:  glkaup [ Wed Jun 30, 2021 1:04 am ]
Post subject:  xdebug 3.0 not stopping at break points

Hello Everyone... Thanks is advance for your time!

I'm running codeLobster v1.11.1
xdebug v3.0.4
php v7.4.7
cakePHP v3.9.10
Apache v2.4.43
Windows 7(64)

I was running codeLobster PHP for Windows... decided to finally migrate to the new Multi-Platform version.
No debugger so I installed xdebug.

php.ini file:

Code:
;[CLDbg]
;extension=php_cl_dbg_7_2_VC15_x64.dll
;clport=6000

[XDebug]
xdebug.remote_enable = 1;
zend_extension = "E:/xampp/php/ext/php_xdebug.dll";  path to php_xdebug extension
xdebug.remote_host = localhost;    127.0.0.1 for some configuration
xdebug.remote_port = 9003;
xdebug.mode = develop,debug,profile;
xdebug.max_nesting_level = 256;     required for some frameworks
xdebug.remote_handler = "dbgp";
xdebug.remote_autostart = 1;           required for xDebug auto start


Restarted Apache.
php -v shows Xdebug v3.0.4

Started codeLobster
Tools->Preferences->Debuggers

Code:
Virtual folder: E:/xampp/htdocs
Start URL: http://localhost
Port: 9003
IDE Key: CLOBSTER
xDebug auto start is checked!
The 2 URLs are both http://localhost/


When I "Check Xdebug settings" I get the error: "Web server not found"
And of course breakpoints are ignored!

If I generate a php error on the url then I get an XDebug dump as the web page!

Any assistance would be greatly appreciated.

Author:  Admin [ Wed Jun 30, 2021 9:51 am ]
Post subject:  Re: xdebug 3.0 not stopping at break points

Hi.

Please, add the following line into your php.ini file (and restart your web server after that):

Code:
xdebug.start_with_request=yes;


Regards,
Codelobster Team.

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