Enable Hot Code Replacement for Debugging Plugins Remotely

To enable hot code replacement during remote debugging (from the Eclipse IDE for example) you need to add the following Java option to the startup script of the Catalina server:

-Xdebug -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n