Discuz教程网

Xdebug 2.1.0 for PHP5.3 安装配置

[复制链接]
authicon dly 发表于 2011-9-11 15:26:09 | 显示全部楼层 |阅读模式
下载xdebug  xdebug 2.1.0 for PHP5.3 PHP5.2 下载
视频教程参考:  101讲PHP5.3 Xdebug 调试器配置与应用
把如下代码加入到PHP.ini中
PHP5.3使用的是zend_extension 而 PHP5.2使用的是 zend_extension_ts 要注意哦
PHP.ini
zend_extension=D:\php5.3.3\ext\php_xdebug-2.1.0-5.3-vc6.dll

[Xdebug]


;是否开启自动跟踪
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="c:\xdebug"
;是否开启调试内容
xdebug.profiler_enable=On
;调试输出路径
xdebug.profiler_output_dir="c:\xdebug"



上一篇:在64位服务器上,php长整型的表示
下一篇:PHP内存池中的存储层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-4 05:39

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表