Debug Tomcat using Eclipse
Get flash to fully experience Pearltrees
Plugin features Starting and stopping Tomcat 4.x, 5.x, 6.x, 7.x Registering Tomcat process to Eclipse debugger Creating a WAR project (wizard can update server.xml file) Adding Java Projects to Tomcat classpath Setting Tomcat JVM parameters, classpath and bootclasspath Exporting a Tomcat project to a WAR File Capability to use a custom Tomcat classloader to load classes in several java projects at the same classloader level than classes in a Tomcat project, see readmeDevLoader.html (Thanks Martin Kahr) Support and contributions Contact email@example.com Download This plugin is free and open-source
MyEclipse provides a special debug launch configuration, MyEclipse Externally Launched Server, that is designed to attach to remote application servers and support full application debugging. To create a launch configuration for your external server, click on the Debug Launch Configuration toolbar button, as shown in Figure 4. Figure 4 - Opening the list of Debug Configurations Selecting "Debug..." will open the Debug Launch Configuration Management dialog, as shown in Figure 5.
From WikiJava The author suggests: buy this book This tutorial will guide you through the process setting up the debugging of a simple Servlet under Eclipse using Tomcat. There are many plugins for Eclipse to help you configuring this, they all basically try to automatize the process explained in this tutorial. It's always good to know what's going on under the hood.
Debugging Tomcat as a Remote External Application Eclipse can be configured to provide debugging information for a running tomcat instance that is configured with JPDA support. This approach may work better for users using Windows. Instructions for setting up tomcat to use JPDA .