From 6dfd02e0892bf2833fdd19a6cf6839d28e827b23 Mon Sep 17 00:00:00 2001 From: Andre Weinand Date: Wed, 25 Apr 2018 17:03:02 +0200 Subject: [PATCH] make sure that 'runInTerminal' request returns a 'body'; fixes #48680 --- src/vs/workbench/parts/debug/electron-browser/rawDebugSession.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/workbench/parts/debug/electron-browser/rawDebugSession.ts b/src/vs/workbench/parts/debug/electron-browser/rawDebugSession.ts index dd96720d94636..1a78245b64d81 100644 --- a/src/vs/workbench/parts/debug/electron-browser/rawDebugSession.ts +++ b/src/vs/workbench/parts/debug/electron-browser/rawDebugSession.ts @@ -469,6 +469,7 @@ export class RawDebugSession implements debug.ISession { if (request.command === 'runInTerminal') { this._debugger.runInTerminal(request.arguments).then(_ => { + response.body = {}; this.debugAdapter.sendResponse(response); }, err => { response.success = false;