windows版本下使用xdebug
下載xdebug:
http://www.xdebug.org/download.php
這個(gè)版本:
http://www.xdebug.org/files/php_xdebug-2.2.0-5.3-vc9.dll
?
拷貝到php的ext目錄
配置php.ini
extension=php_xdebug-2.2.0-5.3-vc9.dll
;xdebug.profiler_enable=1
;xdebug.profiler_output_dir="E:\PHPnow\xdebug"
[Xdebug]
;開啟自動(dòng)跟蹤
xdebug.auto_trace = On
;開啟異常跟蹤
xdebug.show_exception_trace = On
;開啟遠(yuǎn)程調(diào)試自動(dòng)啟動(dòng)
xdebug.remote_autostart = On
;開啟遠(yuǎn)程調(diào)試
xdebug.remote_enable = On
;收集變量
xdebug.collect_vars = On
;收集返回值
xdebug.collect_return = On
;收集參數(shù)
xdebug.collect_params = On
?
;開啟記錄? 不然沒日志!!!
xdebug.profiler_enable=1
xdebug.trace_output_dir="E:\PHPnow\xdebug\tmp"
xdebug.profiler_output_dir="E:\PHPnow\xdebug"
生成的文件使用windows port of kcachegrind
分析
http://sourceforge.net/projects/precompiledbin/files/
?
參考:php擴(kuò)展xdebug安裝以及用kcachegrind系統(tǒng)分析
http://blog.csdn.net/21aspnet/article/details/7036087
?
netBeans配置xdebug
http://blog.csdn.net/21aspnet/article/details/6754034
?
?
總結(jié)
以上是生活随笔為你收集整理的windows版本下使用xdebug的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 水机多少钱啊?
- 下一篇: Oralce中的to_date()函数