我一直在尝试将 xdebug 配置为与 netbeans 一起工作,我当前的配置是
[xdebug]
zend_extension="C:\binaries\php\ext\php_xdebug-2.1.0RC1-5.3-vc6.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1 (also tried localhost)
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
我尝试了 netbeans 博客提供的测试,解释了如何测试配置在绑定(bind)时是否有效,它只是输出“无法绑定(bind)”
有什么建议吗?
最佳答案
我脑子里有几件事……
首先,检查没有其他任何东西已经在监听端口 9000(在命令行上,键入 netstat -an)。
如果没有显示任何内容,请确保未启用 Windows 防火墙。
关于php - netbeans 中的 xdebug 不会绑定(bind)到端口 9000,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3032603/