在 NetBeans 中远程触发 XDebug 会话
在 Eclipse 中,我可以使用 Firefox 的 Easy XDebug 工具,通过单击调试图标并刷新页面来启动调试会话。然后 Eclipse 将启动其调试器。
这似乎在 NetBeans 中不起作用,调试器无法启动。您可以先在 NetBeans 中启动调试器,然后在 FireFox 中开始调试,但如果您尚未在 NetBeans 中处于调试模式,则 Easy XDebug 插件不起作用。
NetBeans 中是否可以从外部触发调试?如果是这样,我该如何设置?
In Eclipse I could use the Easy XDebug tool for Firefox to start a debugging session by clicking the debug icon and refreshing the page. Eclipse would then launch its debugger.
This doesn't seem to work in NetBeans, the debugger doesn't start. You can start the debugger in NetBeans first, then start debugging in FireFox, but if you're not already in debug mode in NetBeans then the easy XDebug plugin has no effect.
Is it possible for debugging to be triggered externally in NetBeans? If so, how do I set it up?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎无法远程启动调试器。但是,每次浏览器启动时,您只需启动一次调试会话,然后您可以使用浏览器图标启用/禁用。
防止浏览器启动的解决方法是将其设置为 ls 或其他一些立即启动和消失的小进程。
There seem to be no way to start debugger remotelly. However you have to start debugging session only once per browser launch, and then you can enable/disable with browser icon.
Work around to prevent browser from launching is to set it to
ls
or some other tiny process which start and vanish instantly.