Skip to content

Allow a debuggee to be disconnected gracefully #196

@yannickowow

Description

@yannickowow

Hello,
I would like to know it if would make sense to add the ability to disconnect (on attach mode) gracefully using the same behaviour as terminateRequest.

My first guess would be if a debuggee has supportsTerminateRequest to true, the first detach command or stop command will trigger terminateRequest (with an optional flag) instead of disconnectRequest. When detaching, a debuggee can emit outputs and would be ignored if a client (such as VS Code) shutdowns immediately a debug session.

Regards.

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions