wamp下安裝php的xdebug調試的方法


wamp下安裝php的xdebug調試的方法

將下載好的php_xdebug-2.1.2-5.2-vc6.dll放在D:/wamp/php/ext/php_xdebug-2.1.2-5.2-vc6.dll (自己對應的目錄下)

將如下代碼添加到php.ini

 

zend_extension_ts= "D:/wamp/php/ext/php_xdebug-2.1.2-5.2-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="d:\xdebug"
;是否開啟調試內容
xdebug.profiler_enable=On
;調試輸出路徑
xdebug.profiler_output_dir="d:\xdebug"


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM