To enable hot code replacement during remote debugging e.g. (from the Eclipse IDE for example) you need to add the following java Java option to the startup script of the Catalina server.:
-Xdebug -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n