phpstorm+xdebug 'Break at first

2016-12-22  本文已影响0人  lastingyang

配置xdebug的教程不多说,
要想在有请求到达php时,php自动在文件第一行断下来,只需要在php.ini中设置,

[Xdebug]
 zend_extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
 xdebug.remote_enable=1
 xdebug.remote_host=localhost
 xdebug.remote_port=9000
 xdebug.remote_autostart=1

关键是

xdebug.remote_autostart=1
上一篇下一篇

猜你喜欢

热点阅读