You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tim Fleming <tf...@ids-software.com> on 2000/01/22 22:34:53 UTC

cvs diff for Tomcat.bat

Here's a diff that will add remote debugging option to Tomcat.bat. 
 Hope you find it useful.

Index: ./src/shell/tomcat.bat
===================================================================
RCS file: /home/cvspublic/jakarta-tomcat/src/shell/tomcat.bat,v
retrieving revision 1.7
diff -r1.7 tomcat.bat
29a30
> if "%1" == "rdebug" goto remoteDebug
36a38
> echo "        rdebug- enable JVM remote debugging"
55a58,62
>
> :remoteDebug
> echo Starting tomcat for remote debugging
> echo Using classpath: %CLASSPATH%
> start java -Djava.compiler=NONE 
-Xbootclasspath:%JAVA_HOME%\jre\lib\rt.jar;%JAVA_HOME%\lib\tools.jar 
-Xdebug org.apache.tomcat.shell.Startup %2 %3 %4 %5 %6 %7 %8 %9