Stack Trace in Javascript Debugger for IntelliJ?

Answered

Is a stack trace available when debugging Javascript? I'm debugging HTML5 with IntelliJ and Chrome and can't find the stack trace when pausing on a break point in the debugger. Does it exists? How do I invoke it? 

3 comments

Exceptions thrown while debugging are normally loaded to debugger console.

You can also try enabling exception breakpoints - once such breakpoints is hit, the error  is shown in Variables view, 'Exception' node

 

0

Thanks for the response. How do I enable exception breakpoints? I know how to add regular breakpoints, but don't see a way to do exception breakpoints. How do you open the breakpoint listing panel in the upper right of your image?

0

Run/View Breakpoints, tick 'JavaScript Exception Breakpoints' checkbox - see the screenshot in my previous comment

0

Please sign in to leave a comment.