k668 发表于 2018-6-19 10:00:10

windows 下 PHP Xdebug 安装

;加载xdebug扩展  
zend_extension = .\ext\php_xdebug-2.5.0-5.6-vc11-nts.dll
  

  
;是否开启自动跟踪
  
xdebug.auto_trace = On
  
;是否开启异常跟踪
  
xdebug.show_exception_trace = On
  
;是否开启远程调试自动启动
  
xdebug.remote_autostart = On
  
;是否开启远程调试
  
xdebug.remote_enable = On
  
;允许调试的客户端IP
  
xdebug.remote_host=localhost
  
;远程调试的端口(默认9000)
  
xdebug.remote_port=9000
  
;调试插件dbgp
  
xdebug.remote_handler=dbgp
  
;是否收集变量
  
xdebug.collect_vars = On
  
;是否收集返回值
  
xdebug.collect_return = On
  
;是否收集参数
  
xdebug.collect_params = On
  
;跟踪输出路径
  
xdebug.trace_output_dir="d:\xdebug"
  
;是否开启调试内容
  
xdebug.profiler_enable=On
  
;调试输出路径
  
xdebug.profiler_output_dir="d:\xdebug"
页: [1]
查看完整版本: windows 下 PHP Xdebug 安装