make sure that 'runInTerminal' request returns a 'body'; fixes #48680

This commit is contained in:
Andre Weinand
2018-04-25 17:03:02 +02:00
parent fb590e6516
commit 6dfd02e089

View File

@@ -469,6 +469,7 @@ export class RawDebugSession implements debug.ISession {
if (request.command === 'runInTerminal') {
this._debugger.runInTerminal(<DebugProtocol.RunInTerminalRequestArguments>request.arguments).then(_ => {
response.body = {};
this.debugAdapter.sendResponse(response);
}, err => {
response.success = false;