【问题标题】:Xdebug with Netbeans 8.0 and xampp 1.8.3使用 Netbeans 8.0 和 xampp 1.8.3 进行 Xdebug
【发布时间】:2014-06-11 06:58:43
【问题描述】:

我通过 xdebug.org 站点 (http://xdebug.org/wizard.php) 的向导安装了最新版本的 Xdebug。 Xdebug 正在根据 phpinfo() 工作。我的浏览器 (Firefox 28) 中的 HMTL 输出显示了 xdebug 代码。但是 Xdegub 不能与 Netbeans 通信。在 Netbeans 中比较消息“等待连接 xampp netbeans-xdebug”。我不明白问题出在哪里。

我正在使用以下软件:

Windows 8.1
Netbeans IDE 8.0
XAMPP Version 1.8.3
Xdebug 2.2.4

这是我的php.ini的配置

[XDebug]
zend_extension = C:\xampp\php\ext\php_xdebug-2.2.4-5.5-vc11.dll
xdebug.remote_handler = "dbgp"
xdebug.remote_host = 127.0.0.1
xdebug.remote_port=9000
xdebug.remote_enable = 1
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 1
;xdebug.profiler_output_dir = "C:\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
;xdebug.trace_output_dir = "C:\xampp\tmp"

这是给 Netbeans 的

Debbuger Port: 9000
Session ID: netbeans-xdebug
http://oi57.tinypic.com/29gbqrk.jpg

请帮帮我!!

【问题讨论】:

    标签: php windows netbeans xampp xdebug


    【解决方案1】:

    它不适用于php.ini 中的本地主机。

    试试这个(使用您的真实网络 IP 地址):

    ;xdebug.remote_host = "127.0.0.1"
    xdebug.remote_host = "192.168.1.106"
    

    【讨论】:

      猜你喜欢
      • 2020-11-21
      • 1970-01-01
      • 2017-03-05
      • 2012-04-06
      • 1970-01-01
      • 2015-02-07
      • 2016-03-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多