If you are java web service developer, you know how useful remote debugging is. So I was wondering how to enable remote debugging is Apache tomcat. It is very easy indeed. You have to just set only a single environment variable and that’s it.
In Linux,
export CATALINA_OPTS=”-Xdebug -Xnoagent /
-Djava.compiler=NONE /
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=<port>”
If you want to read more on this, please read this tutorial.
0 Responses to “Remote dubbuging with Apache Tomcat”