Remote Dubugging Maven Jetty from Eclipse

I get a lot of value from being able to remote debug an app in a webserver. When I first started running the app using mvn jetty:run, I wasn’t sure how to allow remote debugging. At first I was setting MAVEN_OPTS in my .bashrc, but that has a few disadvantages:

  1. You can’t run other Maven commands while the server is running
  2. Debugging is always on, whether you want it or not

Today I found an excellent description of how to start the server with remote debugging enabled from inside Eclipse. Much better!

It's only fair to share...
Share on FacebookGoogle+Tweet about this on TwitterShare on LinkedIn

Leave a Reply