Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to debug JSP files with IntelliJ Idea 15 (breakpoints aren't working)

I'm trying to debug JSP file from Intellij Idea 15. I've put breakpoints in several places but the program still goes on.

Also, I've tried to configure the JSR45 plugin for Intellij, but it does not work because I haven't config script in my project to run it.

Does anybody know the solution for this issue? Feel free to share your suggestions!

like image 958
yevtsy Avatar asked Nov 08 '22 18:11

yevtsy


1 Answers

It does not make much sense to debug jsp pages if you don't put any scriptlets or javascript.

  • If you used java code in jsp pages, don't debug, just ¡¡DELETE IT!!.
  • If you want to debug the javascript code use your browser inspect and put debug points there or between the code using debugger;
like image 137
Jordi Castilla Avatar answered Nov 14 '22 22:11

Jordi Castilla