Node.js远程debugging不起作用
当我开始我的节点应用程序作为node --debug . -c=config-name
debuggingnode --debug . -c=config-name
node --debug . -c=config-name
选项没有关于侦听任何端口的消息。
另外,如果我运行netstat -tlnp
我看不到任何应用程序侦听端口5858。
由于这个原因,我不能使用任何debugging器,如节点检查员或intellij Idea节点插件。
任何想法如何我可以解决它?
哦,我知道了! --debug
应该在进入可执行文件之前inputdebug。
例如vagrant@precise64:~$ node chat.js --debug
不起作用。
但在这种情况下,它的作品:
vagrant@precise64:~$ node --debug chat.js
debugger listening on port 5858`
- debuggingnode.js上的正常closures
- 如何使用WebStorm IDEdebugging我的Meteor应用程序?
- winston只有在debugging时才将日志保存到文件中
- 使用VS代码debugging器不能将断点设置为打字稿
- Visual Studio代码,debugging节点 – 我怎样才能打这个“未经validation的断点”?
- 节点catch()错误不显示文件错误发生
- Node.js,Javascript:node-debug不会检测Google Chrome
- 使用Eclipsedebuggingnode.js应用程序
- Webstormdebugging器断点在nodejs中不起作用