We have already learnt how to configure Tomcat in Eclipse EE and deploy a web application in it from Eclipse (refer to the Configure Tomcat in Eclipse and Running JSP in Tomcat sections in Chapter 2, Creating JEE Project). We will use the Course Management application that we created in Chapter 4, Creating a JEE Database Application, using JDBC for debugging.
If you want to debug a remote Java process, you need to start the process by using the 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 the debug mode. To start Tomcat in the Debug mode, select the server in the Servers view and click the Debug button in the Server view. Alternatively, right-click on the server and select Debug from the menu. Make sure that the project that you want to debug is already added to Tomcat; in this case, the project is CourseManagementJDBC...