Remote debugging with tomcat 6.0.16

Hi,
in the edit configuration's debug profile there is this:
-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,suspend=n,server=y
how to pass this info to tomcat? thanks.

2 comments
Comment actions Permalink

You cant "pass" them to the server.
The server has to be started with these arguments.

I always edit ]]>\bin\catalina.bat directly, but it should work to set JAVA_OPTS environment variable before calling the server start script.

0
Comment actions Permalink

I have a sh file like this:
export JPDA_ADDRESS=8000
export SET JPDA_TRANSPORT=dt_socket
./catalina.sh jpda start
is this the same?

0

Please sign in to leave a comment.