简体   繁体   English

webstorm不会在nodejs应用程序的断点处停止

[英]webstorm doesn't stop on breakpoints in nodejs app

I'm trying to use debugger in webstorm 8. I created an express application and set breakpoint in index.js file. 我试图在Webstorm 8中使用调试器。我创建了一个快速应用程序,并在index.js文件中设置了断点。 When I start application in debug mode, I see the message in console: 当我以调试模式启动应用程序时,我在控制台中看到以下消息:

"C:\Program Files (x86)\JetBrains\WebStorm 8.0.1\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe" --debug-brk=2610 --nolazy bin\www
debugger listening on port 2610

Process finished with exit code -1073741510 (0xC000013A: interrupted by Ctrl+C)

But in simple mode application works normally. 但是在简单模式下,应用程序可以正常工作。 It also works if I run it in debug mode, but without any breakpoints. 如果我在调试模式下运行它,但没有任何断点,它也可以工作。

Here is a picture of my config. 这是我的配置图片。 There is also a breakpoint at line 6 and error log. 第6行和错误日志中还有一个断点。 https://www.dropbox.com/s/axqwazz30m89o4r/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202014-10-19%2003.44.53.png?dl=0 https://www.dropbox.com/s/axqwazz30m89o4r/%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82%202014-10 -19%2003.44.53.png?DL = 0

How can I solve this problem? 我怎么解决这个问题?

我看到您的项目目录中有一些不是英语的字符,您是否尝试过在英语目录中更改它?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM