[英]Debugging node.js apps in WebStorm 7
I am having a strange issue debugging node.js apps in WebStorm 7. 我在WebStorm 7中调试node.js应用程序时遇到一个奇怪的问题。
The first time I start the debugger I get the application running: 我第一次启动调试器时运行应用程序:
/usr/bin/node --debug-brk=34041 app.js
debugger listening on port 34041
Current Environment: development
Express server listening on port 3000
But, after the first time (or if I restart the debugger), I get the debugger running but not the app, like below: 但是,在第一次(或者如果我重新启动调试器)之后,我得到调试器运行而不是应用程序,如下所示:
/usr/bin/node --debug-brk=42140 app.js
debugger listening on port 42140
or 要么
/usr/bin/node --debug-brk=51341 app.js
debugger listening on port 51341
I need to restart the WebStorm itself in order to debug the app again. 我需要重新启动WebStorm本身才能再次调试应用程序。 Is it a bug in WebStorm?
这是WebStorm中的错误吗? Is it a bug in Node.js?
这是Node.js中的错误吗? Is there a way to make it work properly?
有没有办法让它正常工作?
联系支持后,我发现它是WebStorm中的一个错误,已在7.0.1版中修复。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.