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

NetBeans 6.1: Working with Google´s Android SDK, Groovy and Grails