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.

Comments

Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

Java 8: Default Interface Implementations, The Diamond Problem, Multiple Inheritance, and Precedence

Tuning ext3 for performance without losing its data integrity potential