標籤:ext 連接埠 return ade deb ogr .com php開發 檔案
[Xdebug]
;Xdebug 的存放路徑,這裡有個小問題就是, zend_extension_ts的寫法,如果你的phpinfo在檢測之後提示的是Thread Safe Build:yes那麼你就需要使用zend_extension_ts個寫法,否則你就需要zend_extension的寫法,這個也是很重要的(注意如果你事把這段直接複製的話,需要在ini中把這些文字刪除掉或者在每一行的前邊加上”;”來注釋掉它,否則在Apache啟動的時候就會出錯
;zend_extension_ts= C:\Program Files\PHP\ext\php_xdebug-2.1.2-5.2-vc6.dll
是否開啟自動跟蹤
;xdebug.auto_trace = On
是否開啟異常跟蹤
;xdebug.show_exception_trace = On
是否開啟遠端偵錯自動啟動
;xdebug.remote_autostart = On
是否開啟遠端偵錯
;xdebug.remote_enable = On
允許調試的用戶端IP
;xdebug.remote_host=127.0.0.1
遠端偵錯的連接埠(預設9000)
;xdebug.remote_port=9000
這裡需要注意的是如果你的擴充的路徑沒有錯而且Apache也無法啟動的話,那就說明你的連接埠可能被佔用了,這個時候你需要把這個連接埠給修改一下,你可以任意指定一個其他的連接埠,比如9999。
調試外掛程式dbgp
;xdebug.remote_handler=dbgp
是否收集變數
;xdebug.collect_vars = On
是否收集傳回值
;xdebug.collect_return = On
是否收集參數
;xdebug.collect_params = On
跟蹤輸出路徑,如果你的d盤不存在這個xdebug檔案夾請建立一個
;xdebug.trace_output_dir="d:\xdebug"
是否開啟調試內容
xdebug.profiler_enable=On
調試輸出路徑,如果你的d盤不存在這個xdebug檔案夾請建立一個
;xdebug.profiler_output_dir="d:\xdebug"
php開發環境的Debug配置全解