#175 is the prerequisite. With Go and dlv, when users launch the debugger on a remote machine, they might want to connect to it for multiple disjoint debug sessions. The end of each session then closes the socket connection, but does not terminate the debugger by default. The debugger continues to run and can either keep the target suspended or running. This option to continue is part of the exit command offered by dlv. This could be an additional option, so users can pick any of the following combinations:
- terminateDebuggee=true
- terminateDebuggee=false, terminateDebugger=true
- terminateDebuggee=false, terminateDebugger=false, suspendDebuggee=false
- terminateDebuggee=false, terminateDebugger=false, suspendDebuggee=true