Add docs on detaching

This commit is contained in:
Ramya Achutha Rao 2018-07-20 12:08:16 -07:00 committed by Derek Parker
parent 368cbeb0bc
commit e6ce7d4120

@ -257,6 +257,12 @@ the variable in question is shadowed.
Users of your client should be able to distinguish between shadowed and Users of your client should be able to distinguish between shadowed and
non-shadowed variables. non-shadowed variables.
## Gracefully ending the debug session
To ensure that delve cleans up after itself by deleting the `debug` or `debug.test` binary it creates
and killing any processes spawned by the program being debugged, the `Detach` command needs to be called.
In case you are disconnecting a running program, ensure to halt the program before trying to detach.
## Testing the Client ## Testing the Client
A set of [example programs is A set of [example programs is