Nodeclipse调试器忽略断点 [英] Nodeclipse debugger ignoring breakpoints
问题描述
偶尔会在nodemon的第一行停止,其他时候会给我一个V8 VM的超时错误,有时候它根本没有做任何事情
以下是我迄今为止所尝试的:
- 节点应用程序和带监视器的节点,都不工作。
- 从首选项页面中删除了nodemon,但是Eclipse只是抱怨它缺少nodemon路径,不会启动我的脚本(即使我选择Node应用程序)
- 从命令行中删除
node --debug-brk = 5858
然后尝试将Eclipse调试器附加到它 - 尝试从工具栏按钮(我的个人默认)以及右键单击脚本文件后的上下文菜单启动调试 - 这只是使其停止在
module.exports
行脚本 - Ran
eclipse --clean
它没有任何作用。作为附注,当我安装Nodeclipse时,我不会将Nodeclipse安装到新的Eclipse环境中,因为我花了很长时间将现有的配置到我喜欢的地方,我宁愿
以前有人处理过这个问题吗?
好的,这是尴尬的愚蠢的...不知何故,跳过所有断点已经在Eclipse的运行菜单中激活。它现在正在工作
感谢大家帮忙。 :)
I'm using Nodeclipse 0.10 with nodemon, but when I try to debug my script it doesn't stop at any of my breakpoints. I've already seen this and this answer but it hasn't helped.
Occasionally, it will stop on the first line of nodemon, other times it gives me a timeout error from the V8 VM, and sometimes it doesn't do anything at all.
Here's what I've tried so far:
- I tried both the "Node application" and the "Node with monitor", neither one works.
- Removed nodemon from the preferences page, but then Eclipse just complains it's missing the nodemon path and won't start my script (even if I select "Node application")
- Ran
node --debug-brk=5858
from the command line and then tried to attach the Eclipse debugger to it - Tried launching the debug from the toolbar button (my personal default) as well as from context menu after right clicking the script file - that just makes it stop on the
module.exports
line of the script - Ran
eclipse --clean
None of it works. As a side note, I did not install Nodeclipse into a new Eclipse environment when I installed it, because it took me a long time to configure my existing one to where I liked it, and I'd rather be able to keep that.
Anyone dealt with this issue before?
Ok, this was embarassingly stupid...somehow, "Skip all breakpoints" had become activated in the Run menu in Eclipse. It's working now.
Thanks everyone for the help though. :)
这篇关于Nodeclipse调试器忽略断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!