Node.js服务器使用WebStorm进行调试(grunt) [英] Node.js server debuging with WebStorm (grunt)

查看:180
本文介绍了Node.js服务器使用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屋!

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