I have tomcat installed as an installer on the windows7.
I am trying to remotely debug an application using eclipse.
I want to know where can I put the following code:
set JPDA_TRANSPORT=dt_socket
set JPDA_ADDRESS=8000
catalina.bat jpda start
There is no catalina.bat file in tomcatHome\bin\ ,in fact there is no batch file there.
The way I start tomcat is via service.
Please advice, how can I achieve remote debugging in my case.
Go to
<tomcat-dir>/binand double-click ontomcatxw.exewhere x is your tomcat version number. On the Java tab specify the following JVM parameters:Put them before any
-Dparameter, use separate lines for each, and make sure that there is no whitespace at the end of the lines.More information Apache Tomcat 7, Windows service HOW-TO and Tomcat Wiki, FAQ/Developing.