Build WAR with Gradle and debug using Intellij
Select Run -> Edit Configurations…
Press the “+”, choose Tomcat Server -> Local
Enter configuration Name and add Run Gradle task
Add following Gradle configuration
In Deploy tab, select add External Source…
Select artifact to deploy from PROJECT_DIR/build/libs/MyProject.war and apply changes
Debug application


Komentarai
Komentavimas uždarytas.