Hello,
I am using IDEA as my IDE. I am unable to connect to JVM to debug a web application.

Here are the parameters I am using: Remote Debugging in IDEA allows connection to a running JVM.

   -Xdebug -Xnoagent -Djava.compiler=NONE
   -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
   Transport: Socket
   Debugger Mode: Attach
   Host: localhost
   Port: 5005

And here is the error I am getting:

   Failed to establish connection to the target VM at 'localhost:5005'
   using socket transport.
   Process not started.
   Unable to launch target VM : java.net.ConnectException "Connection
   refused: connect"

I am using Tomcat 6.0.16 and JDK 1.6.0_06.

Do I need to add anything to Catalina.bat.

Thanks...rs

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to