>  기사  >  백엔드 개발  >  PHP5.25.3 Xdebug 调试器配备及应用

PHP5.25.3 Xdebug 调试器配备及应用

WBOY
WBOY원래의
2016-06-13 11:00:24762검색

PHP5.2\5.3 Xdebug 调试器配置及应用

PHP5.2添加的扩展方式:zend_extension_ts=D:\www\Server\php5\ext\php_xdebug-2.1.0-5.2-vc6.dll

PHP5.3添加的扩展方式:zend_extension=D:\www\Server\php5\ext\php_xdebug-2.1.0-5.3-vc6

zend_extension\zend_extension_ts="扩展的绝对地址"



[Xdebug]

;是否开启自动跟踪PHP100
xdebug.auto_trace = On
;是否开启异常跟踪
xdebug.show_exception_trace = On
;是否开启远程调试自动启动
xdebug.remote_autostart = On
;是否开启远程调试
xdebug.remote_enable = On
;允许调试的客户端IP
xdebug.remote_host=192.168.1.107
;远程调试的端口(默认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:\www\Server\xdebug"
;是否开启调试内容
xdebug.profiler_enable=On
;调试输出路径
xdebug.profiler_output_dir="D:\www\Server\xdebug"

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.