views:

24

answers:

1

Im trying to remote debug Tomcat (JPDA) on a server that is running two virtual hosts using the same Tomcat container. How do I ensure the debugger connects to virtual host A and not B.

Thanks!

+2  A: 

AFAIK - You cant do this.

JPDA operates at the JVM level, so if the underlying Tomcat for both hosts is the same, it's a single JVM.

JoseK