We have already learned how to configure Tomcat in Eclipse EE and deploy web applications in it from Eclipse (refer to the Configuring Tomcat in Eclipse and Running JSP in Tomcat sections in Chapter 2, Creating a Simple JEE Web Application). We will use the Course Management application that we created in Chapter 4, Creating JEE Database Applications (JDBC version), for debugging.
Debugging a web application using Tomcat in Eclipse EE
Starting Tomcat in Debug mode
If you want to debug a remote Java process, you need to start the process using debug parameters. However, if you have configured Tomcat in Eclipse EE, you don't need to do this manually. Eclipse takes care of launching Tomcat in Debug mode. To start Tomcat...