php.ini Xdebug配置

132 阅读1分钟

 

在此记录:

xdebug.profiler_output_dir="D:\phpStudy\tmp\xdebug"
xdebug.trace_output_dir="D:\phpStudy\tmp\xdebug"
zend_extension="D:\iphpStudy\php\php-5.6.27-nts\ext\php_xdebug.dll"

xdebug.profiler_enable = 1
xdebug.auto_trace = 1;
xdebug.show_exception_trace = 1
;这里必须设置为0,为了能使用浏览器插件 xdebug helper配合调试
xdebug.remote_autostart = 0 ;
xdebug.remote_enable = 1 ;
;这里是开启远程调试
xdebug.remote_handler = "dbgp" ;
;远程调试的host
xdebug.remote_host = "127.0.0.1" ;
;远程调试的端口号
xdebug.remote_port = 9000 ;
;远程调试的对应 key
xdebug.idekey="PHPSTORM" ;