I'm absolutely in stuck with the subject..
My environment:
Tomcat 8.5.23
Intellij IDEA CE 2017.2.6
Simple as possible Java web app (One servlet 3.0 that returns JSP)
Using Gradle as a build tool (just apply plugins, and declare provided servlet-api dependency)
Application is packaged into WAR and deployed to Tomcat
I run Tomcat with catalina jpda start
, connect to it in IDEA, toggle breakpoint in doGet
method (red circle with tick appears), open the application and.. nothing happens. It seems that this breakpoint is ingored.
I've checked all related topics, have tried to assign options from IDEA debug configuration window to setenv.bat
file to JAVA/CATALINA_OPTS, have tried to run Tomcat with startup.bat
, catalina start
, but it doesn't help.