From 5aaa268cc854f2369c4bd8d101ab17e2b83a9af8 Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Mon, 24 Apr 2017 15:30:21 +0200 Subject: [PATCH] update DAP --- .../workbench/parts/debug/common/debugProtocol.d.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/vs/workbench/parts/debug/common/debugProtocol.d.ts b/src/vs/workbench/parts/debug/common/debugProtocol.d.ts index b55c680529d..5f1345593d9 100644 --- a/src/vs/workbench/parts/debug/common/debugProtocol.d.ts +++ b/src/vs/workbench/parts/debug/common/debugProtocol.d.ts @@ -329,10 +329,13 @@ declare module DebugProtocol { arguments?: DisconnectArguments; } - /** Arguments for 'disconnect' request. - The disconnect request has no standardized attributes. - */ + /** Arguments for 'disconnect' request. */ export interface DisconnectArguments { + /** Indicates whether the debuggee should be terminated when the debugger is disconnected. + If unspecified, the debug adapter is free to do whatever it thinks is best. + A client can only rely on this attribute being properly honored if a debug adapter returns true for the 'supportTerminateDebuggee' capability. + */ + terminateDebuggee?: boolean; } /** Response to 'disconnect' request. This is just an acknowledgement, so no body field is required. */ @@ -981,6 +984,8 @@ declare module DebugProtocol { supportsValueFormattingOptions?: boolean; /** The debug adapter supports the exceptionInfo request. */ supportsExceptionInfoRequest?: boolean; + /** The debug adapter supports the 'terminateDebuggee' attribute on the 'disconnect' request. */ + supportTerminateDebuggee?: boolean; } /** An ExceptionBreakpointsFilter is shown in the UI as an option for configuring how exceptions are dealt with. */ -- GitLab