美文网首页
phpstudy+phpstorm+php配置xdebug

phpstudy+phpstorm+php配置xdebug

作者: LauEl | 来源:发表于2018-11-23 08:43 被阅读14次
}_@LML~A8@~D{F)5ZZZ52ED.png

打开xdebug

配置php.ini

去掉原来的
;[XDebug]
;xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
;xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
;zend_extension="D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"

[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir ="D:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir ="D:\phpStudy\tmp\xdebug"
xdebug.profiler_output_name = "cachegrind.out.%t.%p"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
zend_extension="D:\phpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"
xdebug.idekey = PHPSTORM

确定端口一致


image.png image.png image.png

相关文章

网友评论

      本文标题:phpstudy+phpstorm+php配置xdebug

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