php - netbeans 中的 xdebug 不会绑定(bind)到端口 9000

标签 php xdebug netbeans6.8

我一直在尝试将 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/

相关文章:

php - Sublime Text 3 : how to see the sub-array content in the Xdebug context 中的 Xdebug

php - 带有 Sublime Text 2 的 Xdebug

java - Netbeans: "Run -> Test Project"不执行任何操作

php sed 类似功能

php - 使用 vagrant/puppet 自动设置 xdebug.remote_host ip 地址

php - 用于 NetBeans 的类似 ReSharper 的插件

php - 在没有 Apache 的情况下在 NetBeans 6.8 上调试 PHP

php - jquery datepicker刷新页面数据

php - mysql_insert_id();返回零。自动增量工作正常

php - 数组推送,期望参数 1 为数组但给定为 null