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.


Popular posts from this blog

Tuning ext4 for performance with emphasis on SSD usage

Eclipse sucks, so use NetBeans!