Summary
If you like to use Tomcat or Jetty plugin for Maven to run your web applications on the fly without installing any of standalone versions of these servlet containers, you may want to debug your code through these plugins. Personally i like using these plugins for development phase of a project in a team because it eliminates the time you spend for running the applications painlessly as soon as checking out the project from it’s code base. But debugging the running code under maven process can be tricky if you don’t know how to >> Continue ...
Java Debug Command Line Arguments-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 |
Using from maven command line> export MAVEN_OPTS='-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000' > mvn tomcat:run |