Xdebug 版本 2.2.0-dev
我已经成功安装了 xdebug 2.2.0-dev 并且我的 phpinfo() 显示了所有选项,但我无法让它在我的 IDE 中工作。在我的 IDE 中,当我单击“侦听器状态”选项时,当我尝试调试时,我会看到“总连接数”数量发生变化,但脚本根本不会在我的断点处停止,也不会在命令 xdebug_start() 处停止。我对我的服务器使用反向 shell,但是当我远程登录到本地主机上的端口 9000 时,我收到错误消息:名称或服务未知???我能做些什么?安装稳定版 2.1.2 吗?当我启动 lighttpd 时,我收到此警告:
Xdebug requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org for a later version of Xdebug.
I've succecfully installed xdebug 2.2.0-dev and my phpinfo() shows all the options, but I can't get it work with my IDE. In my IDE when I click at the option "Listener status" I see the number "Total connections" changing when I try to debug but the script simply doesn't stop at my breakpoint nor at the command xdebug_start(). I use a reverse shell to my server but when I telnet to Port 9000 on my localhost I get the error message: Name or service not known??? What can I do? Install the stable 2.1.2? When I start lighttpd I get this warning:
Xdebug requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org for a later version of Xdebug.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
那里有一些问题。底部的大警告仅表示您已针对错误的 PHP 版本的标头编译了 Xdebug。您有多组标头吗?如果是这样:删除不需要的。
您的 telnet 命令可能是错误的,您使用它就像“telnet localhost 9000”。断点可能不会停止,因为您尚未在 Komodo 中设置路径映射。
There are a few things going wrong there. The big warning at the bottom only says that you have compiled Xdebug against the headers for the wrong PHP version. Do you have multiple sets of headers? If so: remove the ones you don't need.
Your telnet command is likely wrong, you use it like "telnet localhost 9000". Breakpoints not stopping is possible because you have not set-up path mappings in Komodo.