AWG Blogs

Saturday, July 23, 2016

Enabling Debugging in Eclipse for Tomcat Installation

When using the option "Use Tomcat installation (takes control of Tomcat installation), to enable debugging from Eclipse, you may need to adjust the VM arguments of the launch configuration as follows:

Double click the Tomcat server in the Servers tab, then click "Open launch configuration"
In the Arguments tab append the following line to the VM arguments text box:
 -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

Then restart the server.

Here is a screenshot: