Blog Archive for February 1, 2018

Remote Debugging Tomcat

February 1, 2018

It's possible to startup Tomcat in such a way that you can connect to it from a remote debugger, say the one within Eclipse. This example is for Windows based development.

To do this we need to set some options in the startup batch file:

set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket
set …