Node.js服务器使用WebStorm进行调试(grunt) [英] Node.js server debuging with WebStorm (grunt)
问题描述
我正在使用grunt启动我的服务器的livereload和其他任务。
我遵循中修复。
I'm using grunt to launch my server with livereload and other tasks. I've followed this and this post to run my grunt tasks. It's working but I can't debug properly (when I set some breakpoints, there aren't hit)
When I launch the script, here is what I got:
As you can see the debugger appears in a 2nd tab, but it's not doing anything. (even if it says it's connected successfully).
To debug my app I've to stop this 2nd tab, and run a remote debugger... Anyway to fix this?
Additional info: The server is run in another process. If I run it in the same process as grunt, there are no issues.
As mentioned by lena, the issue seems to be fixed in WebStorm 8.
这篇关于Node.js服务器使用WebStorm进行调试(grunt)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!