Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

IntelliJ 13 - javascript debugger stops on every module load

$
0
0

I'm trying to use the IntelliJ 13 to debug my node.js unit tests and application by remote connecting on port 5858.  I run with node --debug-brk ..., and then connect from IntelliJ.  My problem is that it stops many times before even getting to the first line of my test because everytime node loads a module requested via require() it stops on the first line of that file as if I had a breakpoint defined there.  I'm loading enough modules that I can't use it, and I've had to resort to console.log() statements to do my debugging.

 

I've checked in the Breakpionts window, and both the "Exception Breakpoints" and the "JavaScript Exception Breakpoints" checkboxes are unchecked.  Also, it seems to work fine if I run IntelliJ 12 instead of IntelliJ 13.  But several people on my team don't have IntelliJ 12 licenses.

 

Please Help!

 

    - Rick


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>