2014-03-05

Debug Jetty / Tomcat applications using Maven

Simply use the mvnDebug instead for the usual mvn command and you should see sth. like:

idea:~/my/project/loxal/your-service mvnDebug jetty:run
Preparing to Execute Maven in Debug Mode
Listening for transport dt_socket at address: 8000
Now you can simply attach the debugger to port 8000 and you are good to go.