From 72eff6bcaa4cb4f3977ae0c91e87a56c861e63c8 Mon Sep 17 00:00:00 2001 From: isidor Date: Fri, 22 Jan 2016 21:04:47 +0100 Subject: [PATCH] debug: null guard fixes #2022 --- src/vs/workbench/parts/debug/node/rawDebugSession.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/node/rawDebugSession.ts b/src/vs/workbench/parts/debug/node/rawDebugSession.ts index 789ba0b15b0..52e47cbe077 100644 --- a/src/vs/workbench/parts/debug/node/rawDebugSession.ts +++ b/src/vs/workbench/parts/debug/node/rawDebugSession.ts @@ -67,7 +67,7 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes public initialize(args: DebugProtocol.InitializeRequestArguments): TPromise { return this.send('initialize', args).then(response => { - this.capablities = response.body; + this.capablities = response.body || { }; return response; }); }