Can I change debug options?

When I debug a Java application, intelliJ automatically adds the option:

-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63208,suspend=y,server=n

Is there any way I can add a timeout option to this? I'm trying out the javeleon class reloader and it introduces quite a delay to the VM startup so the debugger connection is refused. I need to increase the timeout so it waits for the VM to startup.

For example, I'd like the agentlib option to look like this:

-agentlib:jdwp=transport=dt_socket,address=127.0.0.1:63208,suspend=y,server=n,timeout=10000


I don't see any config option to change this.

Thanks

Curtis

Please sign in to leave a comment.