You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nathan Coast <na...@cableinet.co.uk> on 2001/05/17 19:42:49 UTC

starting tomcat in debug VM

Hi, I'm trying to start tomcat in debug mode using these options:

TOMCAT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n

as I understand it, the address to which the debuger should connect should be 
displayed on stdout.  However, all that is being displayed is the agent 
password.  Any ideas what (if any) other parameters need to be passed to java in 
order to obtain the port that the vm is waiting for?  I've tried specifying the 
port using address=localhost:1234 but this makes no difference.

Thanks in advance
Nathan


Re: starting tomcat in debug VM

Posted by Nathan Coast <na...@cableinet.co.uk>.
doh! I should try reading the docs -Xnoagent did the trick

Nathan Coast wrote:

> Hi, I'm trying to start tomcat in debug mode using these options:
> 
> TOMCAT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n
> 
> as I understand it, the address to which the debuger should connect 
> should be displayed on stdout.  However, all that is being displayed is 
> the agent password.  Any ideas what (if any) other parameters need to be 
> passed to java in order to obtain the port that the vm is waiting for?  
> I've tried specifying the port using address=localhost:1234 but this 
> makes no difference.
> 
> Thanks in advance
> Nathan