[英]How to start the Xdebug server on PHPDesigner 8
我正在使用XAMPP在Windows 8中使用PHP v5.5.6運行PHP應用程序
我已經下載了php_xdebug*.dll
並將其放在C:\\xampp\\php\\ext\\
我已經在C:\\xampp\\php\\php.ini
配置了[XDebug]
部分,如下所示:
[XDebug]
zend_extension=C:\xampp\php\ext\php_xdebug-2.2.7-5.5-vc11.dll
xdebug.remote_enable=true
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\ProgramData\phpDesigner\XDebugCache"
我還配置了Prefferences-> Debugger來使用C:\\xampp\\php\\php-cgi.exe
和C:\\xampp\\php\\php.ini
但我仍然無法調試我的代碼。 當我點擊“調試”按鈕時,沒有任何反應。 如果我去Debug-> Xdebug Server-> Start,沒有任何反應。
我錯過了什么? 謝謝。
假設您已正確安裝,您應該轉到Run -> Click Start listening for PHP connections
(或類似的東西)。
現在phpstorm正在監聽連接。 返回瀏覽器並點擊刷新。 如果一切都按照它應該配置(順便看看phpstorm for xdebug,port和所有其他的首選項),phpstorm應該能夠捕獲連接並讓你有機會進入行(F7,F8)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.