是否可以使用 PDT 通过 XDebug 进行隧道调试? [英] Is it possible to use PDT to debug through a tunnel with XDebug?

查看:37
本文介绍了是否可以使用 PDT 通过 XDebug 进行隧道调试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过隧道使用 PDT 和 Xdebug 进行调试,但无法让 PDT 正确连接.我没有在我正在开发的机器上安装 PHP,并且想连接到我的开发机器上运行的 XDebug 实例,该实例无法直接与我的机器对话.

I'm trying to debug using PDT and Xdebug over a tunnel and haven't been able to get PDT to connect properly. I do not have PHP installed on the machine I am developing on and would like to connect to the XDebug instance that is running on my development machine that is not able to talk directly with my machine.

推荐答案

如果你想调试,你的开发机器上的 xdebug 实例必须连接到你机器上的 eclipse 实例,所以我猜你的问题的答案是没有".

The xdebug instance on your dev machine has to connect to the eclipse instance on your machine if you want to debug, so I guess the answer to your question is "no".

这篇关于是否可以使用 PDT 通过 XDebug 进行隧道调试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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