当使用netbeans调试器时,我收到消息“正在等待连接(netbeans-xdebug)”。netbeans xdebug尽管经历了所有论坛回答,但仍在等待连接
我使用: 的Windows 10 XAMPP的Windows 5.6.20 XAMPP控制面板V3.2.2 NetBeans IDE的8.0.2
我一直团团论坛回答了好几天乱投医,但有画空白。
该代码在php.ini是:
> [XDebug] ; Only Zend OR (!) XDebug zend_extension = c:\xampp\php\ext\php_xdebug-2.5.4-5.6-vc11.dll xdebug.remote_autostart=on xdebug.remote_enable=1 xdebug.remote_host=127.0.0.1 xdebug.remote_port=9001 xdebug.remote_handler="dbgp" xdebug.profiler_enable=1 xdebug.profiler_output_dir="c:\xampp\tmp" xdebug.remote_mode=req xdebug.idekey="netbeans-xdebug"
我曾尝试的参数的每个组合用于上述可想而知。
我已经在NetBeans中使用的端口是: 项目属性>运行配置>高级:9001 的Netbeans>工具>选项> PHP>调试:9001
难道显著的调试器使用Chrome浏览器,但我的phpmyAdmin和XAMPP的主屏幕是在IE浏览器?
我只在/xampp/php/php.ini中有一个。它也出现在xampp控制面板配置中。所以它绝对是唯一的一个。我没有xdebug配置。我正在使用PHP版本5.6.20。 – Geoff
我在回答中增加了一些建议,希望他们能帮助您找出问题所在。 – paolosca
非常感谢。我以为我会永远卡住!你的第二个关于使用localhost而不是127.0.0.1的建议对我有用。感谢@shashanth提出您的建议。 – Geoff