From f10f95a2a358e70092bdd298cc3f04d4e3ce006c Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Thu, 6 Sep 2018 14:10:49 -0700 Subject: [PATCH] Updating DAP schema (#785) --- debugger_protocol/schema/UPSTREAM | 6 +++--- debugger_protocol/schema/debugProtocol.json | 12 +++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/debugger_protocol/schema/UPSTREAM b/debugger_protocol/schema/UPSTREAM index ca2cef2c..bc06f6b9 100644 --- a/debugger_protocol/schema/UPSTREAM +++ b/debugger_protocol/schema/UPSTREAM @@ -1,4 +1,4 @@ upstream: https://github.com/Microsoft/vscode-debugadapter-node/raw/master/debugProtocol.json -revision: 3e31dadc438602f7f36c22f2adea152516ab7ba7 -checksum: a32ba0936fcebf57bfb11abb20b4a41d -downloaded: 2018-07-18 00:35:00 (UTC) +revision: 1b9a3e83656ebb88f4560bb6d700f9ac64b697ba +checksum: 55a768cf61fe0c05c8af6c680b56154a +downloaded: 2018-09-06 14:00:00 (UTC) diff --git a/debugger_protocol/schema/debugProtocol.json b/debugger_protocol/schema/debugProtocol.json index 2584f496..1867da27 100644 --- a/debugger_protocol/schema/debugProtocol.json +++ b/debugger_protocol/schema/debugProtocol.json @@ -784,6 +784,10 @@ "type": "object", "description": "Arguments for 'disconnect' request.", "properties": { + "restart": { + "type": "boolean", + "description": "A value of true indicates that this 'disconnect' request is part of a restart sequence." + }, "terminateDebuggee": { "type": "boolean", "description": "Indicates whether the debuggee should be terminated when the debugger is disconnected.\nIf unspecified, the debug adapter is free to do whatever it thinks is best.\nA client can only rely on this attribute being properly honored if a debug adapter returns true for the 'supportTerminateDebuggee' capability." @@ -815,7 +819,13 @@ }, "TerminateArguments": { "type": "object", - "description": "Arguments for 'terminate' request." + "description": "Arguments for 'terminate' request.", + "properties": { + "restart": { + "type": "boolean", + "description": "A value of true indicates that this 'terminate' request is part of a restart sequence." + } + } }, "TerminateResponse": { "allOf": [ { "$ref": "#/definitions/Response" }, {