当服务器和本地副本相同时,从 Firefox 启动 Eclipse Xdebug
如果这个问题已经被问过,我提前道歉。我已经搜索了几个小时但没有找到正确的解决方案。
情况: 带有 Xdebug v2.1.0 的 Eclipse Helios PDT 和带有简单 Xdebug 插件的 Firefox。工作区源文件与部署的服务器源文件相同。
我可以毫无问题地从 eclipse 手动启动调试会话。但是,当我直接从 Firefox(通过 XDebug 插件)启动会话时,它们总是打开一个带有文件绝对路径的新编辑器。当以这种方式调试时(通过 Firefox 启动的绝对路径),我无法动态设置或删除断点、更改变量、打开声明等。
如果我尝试从服务器路径与本地/工作空间不同的 Firefox 进行调试,我收到一个路径映射弹出窗口。从弹出窗口中,我可以选择项目中我不想出现问题的文件并设置/删除断点。如果服务器文件与本地文件相同,则不会弹出窗口。
我确信我错过了一些明显的东西..
I apologize in advance if this question has already been asked. I've been searching for hours and haven't found the correct solution.
Situation:
Eclipse Helios PDT with Xdebug v2.1.0, and firefox with easy Xdebug plugin. Workspace source files are the same as the deployed server source files.
I can launch debug sessions manually from eclipse without a problem. However when I initiate the session from firefox (via a the XDebug plugin) directly they always open a new editor with the absolute path to the file. When the debugging this way (via firefox initiated absolute path) I cannot set or remove breakpoints on the fly, change variables, open declarations, etc.
If I try debugging from firefox where the server path is not the same as the local/workspace, I get a path mapping pop-up. From the pop-up I am able to select the file in the project I want no problem and set/remove breakpoints. If the server file is the same as the local file there is no pop-up.
I'm sure I am missing something obvious..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论