How to attach to a process programmatically ?

I'm writing a 'run configuration' plugin.

The main class that this plugin is supposed to launch is starting a second Java process.

My wish is that the debug session will be attached to the second born process and not to the original one i launched.

Is this is possible ?

Thanks
Boaz

Please sign in to leave a comment.