debugging into a node module

Every so often, though too often this week, I find myself trying to debug a node module I'm using and installed via npm. The good news is that I can often step into the module, and the Go To Declarations works as expected because node_modules is included in my libraries. But, setting a breakpoint in a module to releive me of the pain of stepping through a guantlet of callbacks would really be awesome.

I could have sworn I have been able to set breakpoints in modules in the past, and my debugging is fine in my own javascript code. Any tricks to make this work?

If I was actually developing a module, I'd likely want this too.

Thanks

2 comments
Comment actions Permalink

I see that in issue WEB18160, now marked as resolved (in October) the same issue happened in WebStorm. I probably saw this working correctly with IntelliJ 14 and just noticed not working now. Speculation though.

0
Comment actions Permalink

The word on this via a filed bug is that it is fixed in the EAP version of Intellij 15.

0

Please sign in to leave a comment.