-
Notifications
You must be signed in to change notification settings - Fork 149
Description
By default dlv debugger terminates itself when the debug session is terminated. However, if it is run with an option to allow multiple client connections, concurrently or sequentially (tracing and debugging the same process), then disconnect issued by a single client does not mean automatic detachment and termination. Instead the cli gives the client a prompt with a choice to terminate the server or keep it running while still attached to the process. This works with both launch and attach, as it is not uncommon for users to launch a remote debugging session and then keep reconnecting to it.
Can such a choice be supported via the DAP protocol? For example, for terminating or not the debuggee, we have terminateDebuggee
. Can a similar terminateDebugger
option be added as well?