本文介紹了Netbeans + Xdebug + php 不工作的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!
問(wèn)題描述
我的netbeans不能使用xdebug斷點(diǎn),我的配置看起來(lái)是正確的,所以我第一次配置我跑起來(lái)就停止調(diào)試,從那以后第一次就再也沒(méi)有工作過(guò),有人遇到過(guò)這個(gè)問(wèn)題嗎?我的netbeans版本是6.8,php版本是2.5.2.
My netbeans does not work the breakpoints using xdebug, my configuration looks correct, so I configured the first time I ran up to stop debugging the first time since then has never worked, someone had this problem? The version of my netbeans is 6.8 and the version of php is 2.5.2.
我的 php.ini:
my php.ini:
zend_extension_ts = d:wampinphpphp5.2.5extphp_xdebug-2.0.2-5.2.5.dll
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey=netbeans-xdebug
xdebug.profiler_enable=1
推薦答案
就我而言,這行需要包含在 php.ini 中:
In my case this line needed to be included in the php.ini:
xdebug.remote_autostart=on
這里是 XDebug 的配置部分:
Here is the configuration section for XDebug:
[xdebug]
xdebug.remote_enable = on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
xdebug.remote_autostart=on
xdebug.profiler_enable = on
xdebug.profiler_enable_trigger = on
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "d:/wamp/tmp"
這篇關(guān)于Netbeans + Xdebug + php 不工作的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!