【问题标题】:XDebug with eclipse luna freezes at 57 %XDebug with eclipse luna 冻结在 57 %
【发布时间】:2014-12-05 22:22:19
【问题描述】:

我在 eclipse 上运行 xDebug 时遇到问题。

这是我的 php.ini xDebug 配置:

[XDebug]
 zend_extension = "C:\xampp\php\ext\php_xdebug-2.2.6-5.6-vc11.dll"
 xdebug.remote_enable = On
 xdebug.remote_host = "localhost:8080"
 xdebug.remote_port=9000
 xdebug.remote_handler = dbgp
 xdebug.idekey=ECLIPSE_DBGP
 xdebug.remote_log=/tmp/xdebug.log

运行配置工作正常,但是当我尝试调试时,它显示:

Launcing <debug configurazion name> : (57%)

在内部网络浏览器中,它向我显示了一个空白页面。

我该如何解决这个问题???

提前感谢

【问题讨论】:

    标签: php eclipse xdebug


    【解决方案1】:

    是的,我是这样解决的:

    首先我更改了文件 windows>system32>drivers>etc>hosts 并添加了行

    127.0.0.1 local.test.it
    

    其次,我在 windows>preferences>php>debug 更改了服务器配置的配置。 然后转到服务器设置区域并单击“php 服务器”>“新建”并进行以下更改: 名称:服务器名称

    调试器:XDebug

    基本网址:local.test.it:your_port。

    现在可以正常使用了。

    我希望它对某人有所帮助......

    【讨论】:

      猜你喜欢
      • 2014-01-10
      • 2013-04-13
      • 2012-03-21
      • 1970-01-01
      • 2014-11-22
      • 2015-06-08
      • 1970-01-01
      • 1970-01-01
      • 2011-09-19
      相关资源
      最近更新 更多