Eclipse PDT 与XDebug远程调试
我在 Virpus 上有一个使用 Debian 6 的托管帐户,运行 Apache2、带有 memcache 的 php5...&最近X调试。
我试图配置 Eclipse PDT &还可以使用 Apache 从我的机器 (Windows) 远程调试 PHP 代码。现在出现此消息:“等待 XDebug 会话 57%”。
我在 XDebug 上的配置如下所示:
查看图片,您可以看到 XDebug 已安装并正在运行...对吧? 另外,运行 php -m 不会在 PHP 模块或 Zend 模块中列出 XDebug(我读到 xdebug 应该出现两次)。
我在 Apache 上启用的模块是:
[PHP 模块] 数学数学 乙二 日历 核 类型 卷曲 日期 数据库管理员 多姆 埃雷格 exif 文件信息 筛选 文件传输协议 总督 获取文本 散列 图标 json 库文件 mbstring 密码 内存缓存 内存缓存 哈希值 mysql mysqli 开放式SSL 控制中心 聚合酶链反应 磷酸二氢钾 pdo_mysql 法尔 POSIX 反射 会议 什莫普 简单XML 肥皂 插座 声压级 标准 苏霍辛 系统信息 系统仿真 系统管理程序 分词器 西德克斯 XML XML阅读器 XML编写器 拉链 zlib
[Zend 模块] Suhosin
我真的需要更多关于可能发生的事情的线索,我读了很多书,但我自己无法弄清楚。
多谢。
I have a hosting account on Virpus with Debian 6, running Apache2, php5 with memcache... & XDebug recently.
I was trying to configure Eclipse PDT & also Apache to debug PHP code remotely from my machine (Windows). Right now this message appears: "Waiting for XDebug Session 57%".
My config on XDebug looks like this:
Looking to the picture you can see that XDebug is installed and running... right?
Also, running php -m is not listing XDebug in PHP Modules or Zend Modules (I read xdebug should appear twice).
My Enabled modules on Apache are:
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
memcache
memcached
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
suhosin
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
Suhosin
I really need more clues of what could be happening, I read a lot but I can't figure it out by myself.
Thanks a lot.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我遇到了同样的问题,结果发现没有找到 eclipse 配置的浏览器,我在跟踪 project_dir/.metadata/.log 文件时终于意识到了这一点...希望这有帮助:)
I was having the same issue, it turns out the browser that eclipse was configured with was not found and I finally realized this when tailing the project_dir/.metadata/.log file ... hope this helps :)