Debugging JS after inserted into JSP
Answered
I have a tomcat 8, JDK8, the latest IDEA Ultimate and try to debug a js that is loaded into a jsp using Chrome with the Jetbrains IDE Support. My Problem is - it doesnt work. I mean, Idea doesnt stop at the breakpoints.
My question is, is it possible to debug with this setup?
BR
Please sign in to leave a comment.
You can debug 'external' .js files (linked to JSP via <script src="path/to/js">); javascript code embedded in JSP can't be debugged - only java breakpoints are enabled in jsp files, javascript debugger ignores them:(
Related ticket: https://youtrack.jetbrains.com/issue/WEB-12891