Skip to content

Add an option to suspend or keep the target running when disconnecting from a running debugger #177

@polinasok

Description

@polinasok

#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

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions