在php.ini最后加上了zend_extension_ts="C:\php\ext\php_xdebug-2.0.5-5.3-vc6.dll"  (路径没错的)
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1   (这里改成localhost也一样)
xdebug.remote_port=9000          (netbeans里调试端口设置的也是9000)ps:php.ini里没有其他与zend相关的语句。问题是:在netbeans运行“调试文件后”,下面的状态栏一直显示“正在等待连接(netbeans-xdebug)”更奇怪的是我用phpinfo()可以看到xdebug的信息,那不是说明加载了么,为什么连不上呢?
我用到的软件版本:
windows 7 MSDN 旗舰版32位  (用管理员登陆,权限没问题)
netbeans 6.7中文版
apache 2.2.14 with ssl
php 5.3.1   with safe mode
php_xdebug-2.0.5-5.3-vc6.dll