我已將xdebug配置爲Netbeans IDE。我的機器已安裝XAMPP 1.7.4。它有PHP 5.3.5。無法將xdebug配置爲Netbeans
(在phpinfo()函數,我注意到頁面,
Apache的版本 - 阿帕奇/ 2.2.17(Win32的)的mod_ssl/2.2.17的OpenSSL/0.9.8o PHP/5.3.4
調試構建 - 沒有 )
xdebug的版本是「php_xdebug-2.1.1-5.3-vc9.dll」。 我把這個DLL保存在文件夾(目錄)C \:xampp \ php \ ext下。
然後我在文件php.ini下的文件夾 - \ php \ php.ini中完成設置。
我已經做了在php.ini文件中
zend_extension_ts="C:xamppphpextphp_xdebug-2.1.1-5.3-vc9.dll"
;xdebug.remote_enable=true
xdebug.remote_enable=on
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
xdebug.profiler_output_dir="C:xampptmp"
後來我試着調試PHP項目的folloing設置..調試器不工作。但在IDE「等待連接(netbeans-xdebug)」消息越來越多。
我請求你當前我。
在phpinfo()的輸出中是否可見xdebug? – 2012-03-15 12:06:22
在phpinfo()的輸出中,我注意到「Debug Build no」 – phpLearner 2012-03-16 04:32:40
如果在底部附近沒有明確的xdebug部分,則擴展沒有加載。仔細檢查你的PHP二進制版本是否正確。 – 2012-03-16 09:49:56