【问题标题】:Netbeans Xdebug Windows 10 waiting for connectionNetbeans Xdebug Windows 10 等待连接
【发布时间】:2018-08-09 22:39:08
【问题描述】:

Netbeans 8.2 我得到了可怕的“等待连接”

我知道设置是正确的,因为我有

  1. 使用官方流程图方法加载了正确版本的xdebug扩展。
  2. 正确指定了从我的 PC 到端口 9000 的端口转发
  3. 我的 php.ini 文件有以下设置

xdebug.remote_connect_back=1

xdebug.remote_enable=1

xdebug.remote_handler=dbgp

xdebug.remote_mode=req

xdebug.remote_port=9000

xdebug.idekey="netbeans-xdebug"

output_buffering=关闭

  1. 在 Nebeans 选项/PHP/调试中,端口为 9000,会话 ID 为 netbeans-xdebug

【问题讨论】:

    标签: xdebug netbeans-8


    【解决方案1】:

    经过大量调查,我关闭了 Windows Defender“私人”防火墙,Netbeans Xdebug 正常工作,即停止“等待连接”并转到代码中的相应行。

    传入防火墙中有一个用于 TCP 的 Netbeans IDE 规则,但它只设置为公共,也需要设置为私有。

    希望对某人有所帮助

    【讨论】:

      猜你喜欢
      • 2015-11-16
      • 2013-12-15
      • 2013-07-10
      • 2015-07-14
      • 2016-03-13
      • 2023-03-03
      • 1970-01-01
      • 2011-10-12
      相关资源
      最近更新 更多