首页 > Web开发 > 详细

PHPstudy设置xdebug之后,PHPStorm无法断点调试

时间:2020-08-20 12:36:01      阅读:169      评论:0      收藏:0      [点我收藏+]

打开php.ini设置,找到Xdebug设置,红色部分是原有的配置,添加蓝色部分,重启服务,phpstorm的setting中xdebug的port 要和此配置xdebug.remote_port 相同

[Xdebug]

xdebug.profiler_output_dir="D:\ProgramFiles\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="D:\ProgramFiles\phpStudy\tmp\xdebug"
zend_extension="D:\ProgramFiles\phpStudy\php\php-5.4.45\ext\php_xdebug.dll"

xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.remote_mode = "req"
xdebug.remote_autostart=1
xdebug.idekey = PHPSTORM

PHPstudy设置xdebug之后,PHPStorm无法断点调试

原文:https://www.cnblogs.com/IsSshuai/p/13534299.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!