phpstorm - php http request debugging not stopping at breakpoint

已回答

Hi all! I have the problem with php http request debugging.

This is not stopping at breakpoint, and show executing result in console window.

How can i fix it?

0
Avatar
Permanently deleted user

if i use simple debug file, its work fine.

0
Avatar
Permanently deleted user

Can you paste here your xdebug configuration?

 

Also other things to check, make sure your break point is actually in the path of code being executed and that the php->servers app path is set correctly to the path of your php files

0
Avatar
Permanently deleted user

The xdebug configuration is:

zend_extension = "D:\Uwamp\bin\php\php-7.0.6-Win32-VC14-x86\zend_ext\php_xdebug.dll"
[xdebug]
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.auto_trace = Off
xdebug.remote_enable=0
xdebug.remote_autostart=0
xdebug.max_nesting_level=100000
xdebug.profiler_enable = Off
xdebug.profiler_enable_trigger = Off
xdebug.profiler_output_name = cachegrind.out.%t.%p

 

I use php version 7 and xdebug version 2.4.0

 

The break point is actually and php->servers app path is set correctly to the path of your php files

0
Avatar
Permanently deleted user

Your remote_enable setting is 0, that needs to be 1

xdebug.remote_enable=0

2
Avatar
Permanently deleted user

Craig Gill, Yes! Its working)))

Thank you very much.

0

请先登录再写评论。