Debug javascript included in jsp

Answered

I have inherited an old j2ee project running in weblogic. I am trying to debug into a javascript file that is included in one of the pages. For some reason, I have added a breakpoint in the js file but it never seems to stop at that breakpoint. IS it possible to debug through these included js files?

0
5 comments

You can debug external JS files linked from JSP using a second JavaScript run/debug configuration, debugging JS code inside JSP page is not possible at the moment, see https://youtrack.jetbrains.com/issue/WEB-12891 for details.

0
Avatar
Permanently deleted user

Great! So I should create a second parallel debug session for just the linked js files?

 

0

Yes, JavaScript Remote configuration should work, see the related answer: http://stackoverflow.com/a/18720312/104891.

0
Avatar
Permanently deleted user

I'm using the latest version of intellij and not quite following those instructions? :\

0

Please sign in to leave a comment.