在Eclipse的XDebug启动停留在57% - 如何麻烦拍摄? [英] Launching xdebug in Eclipse stuck at 57% - How to trouble-shoot?

查看:418
本文介绍了在Eclipse的XDebug启动停留在57% - 如何麻烦拍摄?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
   XAMPP 1.7.4 + WINXP +日食

我试图来配置与日食的PHP调试调试器,但它卡住57%。
这是我的ini文件

i am trying to configure a debugger with eclipse for php debugging, but it gets stuck at 57%. This is my ini file

    [XDebug]
;; Only Zend OR (!) XDebug
; zend_extension_ts="C:xamppphpextphp_xdebug.dll"
; Modify the filename below to reflect the .dll version of your xdebug
zend_extension_ts="C:dev\php\ext\php_xdebug-2.1.1-5.2-vc6.dll"
xdebug.remote_enable=0
xdebug.remote_host=127.0.0.1  ; if debugging on remote server,
                              ; put client IP here
xdebug.remote_port=9003
xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
xdebug.profiler_output_dir="C:dev\php\tmp"

我已经改变了端口9003,以及在日食,但它还是老样子卡始终在57%

I have changed the port as 9003 as well in eclipse , but stil it gets stuck at 57% always

推荐答案

您需要启用它至少包括:

You need to enable it at least:

xdebug.remote_enable=1 # instead of 0

的XDebug故障排除安装

检查是否安装了Xdebug扩展

如果的phpinfo(); 未上市的的XDebug 的在配置的部分,列出所有已安装的扩展,然后它未安装。在第一检查此,因为如果分机不可用,它不能被启用是很重要的。经常检查这第一不要在错误的地方寻找,而排除故障。

Troubleshooting xdebug install

Check if the xdebug extension is installed

If phpinfo(); is not listing xdebug in the Configuration section that lists all installed extensions, then it is not installed. It is important to check this at first, because if the extension is not available, it can not be enabled. Always check this first to not look in the wrong place while trouble-shooting.

下面的屏幕截图显示它的样子时,它的的安装:

The following screen-shot shows how it looks like when it is installed:

如果你的的phpinfo 没有列出的XDebug 这意味着扩展加载不正确。

If your phpinfo does not list xdebug this means that the extension is not properly loaded.

借助 Xdebug的网站有窗口(及其他)安装一个特别有用的资源叫的 自定义安装说明 。您可以复制并粘贴的phpinfo(); 输出到一个文本框,它会给你哪个版本/文件下载和 PHP。 INI 编辑。所以你会得到为您量身定做的自定义设置说明。

The xdebug website has an especially useful resource for windows (and other) installations called the custom installation instructions. You can copy and paste your phpinfo(); output into a text-box and it will give you which version/file to download and which php.ini to edit. So you will get tailored instructions for your custom set-up.

这应使您能够成功安装扩展,以便它可以进行配置。

This should enable you to successfully install the extension so that it can be configured.

这篇关于在Eclipse的XDebug启动停留在57% - 如何麻烦拍摄?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆