IDE to Remote Debugger: Extend Connection Timeout
Answered
I want to globally configure the connection timeout for when my IDE connects to the debugger. Is this correct – I cannot find any official documentation. I added the following to my `idea.vmoptions` file:
-Didea.connection.timeout=200000
Please sign in to leave a comment.
Option
-Didea.connection.timeoutis the IDE's HTTP client timeout (example to check plugin repository, update checks), not the debugger's. IntelliJ IDEA passestimeout=0to the JDWP connector for both attach and listen, so it already waits forever. The only timeout on this path belongs to the JVM you’re debugging. So you can droptimeout=from its agent options, and it keeps listening until you connect or set itRefer: VM Invocation Options and run config vm options.