Netbeans + Xdebug + php 不工作
我的netbeans不能使用xdebug断点,我的配置看起来是正确的,所以我第一次配置我跑起来就停止调试,从那以后第一次就再也没有工作过,有人遇到过这个问题吗?我的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"
相关文章