nodeclipse调试器配置 [英] nodeclipse debugger configuration

查看:165
本文介绍了nodeclipse调试器配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正确配置nodeclipse进行调试时有问题。
我配置nodemon作为我的节点监视器,但它的接缝debbuger不附加到我的程序,但是nodemon。



控制台说:

  / usr / local / bin / node --debug-brk = 5858 /usr/lib/node_modules/nodemon/nodemon.js / myproject / server。 js 

调试器停在nodemon的第一行,但似乎看不到我的程序断点。 / p>

任何想法?或者,有没有办法从neclipse运行没有节点监视器的程序,似乎总是需要...

解决方案

问题是其实是因为腐败的项目。
我删除了该项目,并用我的文件重新创建了一个。
全部正如预期的那样工作。



希望能让他人。


I have problem configuring nodeclipse properly for debugging. I configured nodemon as my node monitor but it seams debbuger doesn't attach to my program but to nodemon.

console says :

/usr/local/bin/node --debug-brk=5858 /usr/lib/node_modules/nodemon/nodemon.js /myproject/server.js 

Debugger stops at the first line of nodemon but doesn't seem to see my programs breakpoint.

Any ideas ? Alternatively, is there a way to run programs from neclipse without node monitor which seem to be always needed...

解决方案

Problem was in fact due to "corrupted" project. I deleted the project and recreated a fresh one with my files. All is working as expected now.

Hope it'll hep others.

这篇关于nodeclipse调试器配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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