Posts

Showing posts from November, 2013

Running tomcat maven plugin in Debug mode (in STS, Eclipse and MyEclipse)

Image
Over here I'll explain, as to how to run a tomcat maven plugin in debug mode, in Eclipse and Spring Tool Source (STS). It will be a three step setup and once you are done with the setup, you can run the tomcat server in debug mode with just one click. Following are the setup steps: Step 1 : Entering maven dependency for tomcat in pom.xml file Step 2 : Creating debug configuration Step 3 : Running tomcat server in debug mode Step 1: Entering maven dependency for tomcat in pom.xml file Open your pom.xml file. Enter the tomcat plugin dependency, as shown in the following figure: Now right click on the pom.xml and select Run As à Maven Install . Step 2 :  Creating Debug Configuration Right click on pom.xml and select Debug As à Debug Configurations… A Debug Configurations window will open, as shown in the following figure: On the left hand window right click on Maven Build , as a result, following screen will get displayed: