美文网首页
phpstorm+xdebug 'Break at first

phpstorm+xdebug 'Break at first

作者: lastingyang | 来源:发表于2016-12-22 15:16 被阅读0次

配置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

相关文章

网友评论

      本文标题:phpstorm+xdebug 'Break at first

      本文链接:https://www.haomeiwen.com/subject/gbfhvttx.html