Target specific JVM process?

I have a system on which two JVM processes are running. It appears that IntelliJ is attaching to the JVM process I don't want to debug.  Is there any way to specify which JVM instance should be the target?

Thank you in advance for your assistance -

Jordan

3 comments
Comment actions Permalink

How are you attaching the debugger? Shared memory or sockets?

0
Comment actions Permalink

Using sockets.

Anything else I can supply to you to help here?

0
Comment actions Permalink

Hi Jordan,

Your applications must be configured for using particular port for accepting remote debugging connections. I.e. you should have two applications that listen for different ports. Also you should specify target host/port at 'remote debug' IJ configuration.

Regards, Denis

0

Please sign in to leave a comment.