Debugging NodeJS in WebStorm, variables won't load

Hey,
I am trying to debug node 6.0.0 in WebStorm 2016.1.1.

Variables (Local, Script, Global) are showing "Collecting data...", and won't load.
This happens even in a minimal project, with only one file that has only console.log('test');

Breakpoints do work (and I can step over, into, etc.), and the console works as well.

How can I fix this?

Thanks,
Shay

3 comments

That YouTrack says it's also fixed in 2016.1.2 but I just tried 2016.1.3 EAP and the behavior is exactly the same, if not worse. In addition to being stuck on "Collecting data," 2016.1.3 also throws a "Webstorm core" exception after hitting a breakpoint. I tried it with both Node 6.0.0 and 6.0.1 -- same behavior.

0

Please see https://youtrack.jetbrains.com/issue/WEB-21192#comment=27-1429228 - 1.3 doesn't include the fix, it will be available in WebStorm 2016.2

0

Please sign in to leave a comment.