您的位置:首页 > 编程语言 > PHP开发

phpstorm xdebug配置

2016-04-21 13:43 531 查看
phpstorm 8.0.3版本

1.本身自带xdebug插件

2.在xampp的php.ini中最后中添加(如果有[XDebug]配置替换)

[XDebug]
zend_extension = "D:\Program Files\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "D:\Program Files\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
;xdebug.trace_output_dir = "D:\Program Files\xampp\tmp"

3.然后再配置 phpstorm 里的

php--xdebug设置



4.新建一个调试



5.设置一下 服务器路径和文件名



然后可以随意地打断点,按那个小虫子按钮来调试程序了

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: