diff --git a/src/vs/workbench/parts/debug/node/rawDebugSession.ts b/src/vs/workbench/parts/debug/node/rawDebugSession.ts index bb0c332875a0c9949e4d4199cf5e83b698b3c86a..da4e92ec8d19c2ba26d2d8dee9bbaf89e2f51226 100644 --- a/src/vs/workbench/parts/debug/node/rawDebugSession.ts +++ b/src/vs/workbench/parts/debug/node/rawDebugSession.ts @@ -34,6 +34,7 @@ export class RawDebugSession extends v8.V8Protocol implements debug.IRawDebugSes private adapter: Adapter ) { super(); + this.capablities = {}; } private initServer(): TPromise { @@ -67,7 +68,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 || this.capablities; return response; }); }