2010/7/23 Andy Bell <andy.photos.b...@googlemail.com>:
> Hi
>
> I'm running Tomcat 6.0.24 as aa serviced on Windows XP.
>
> I am trying to debug Java code in the webapp Ihave deployed to Tomcat
> and I have added this line:
>
> -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
>
> to the Java Options in the Tomcat 6 Properties Java Options. I've
> added it as the first line in the Java Options list.
>
> However when i point my debugger at localhost:8000 I just get a
> Connection Refused message.
>
> Am I doing something wrong?
>

I usually use the following command to start Tomcat for debugging
catalina.bat jpda start

You might see that it passes the following argument to java.exe:
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to