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

Reply via email to