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?
Please sign in to leave a comment.
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
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?
Run/View Breakpoints, tick 'JavaScript Exception Breakpoints' checkbox - see the screenshot in my previous comment
But what about stack trace? Is it exist or not?
Haven't got what you mean... If Log > Stack trace option is enabled for exception breakpoints
the stack is printed to console, like