We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92cc41e commit eabc203Copy full SHA for eabc203
1 file changed
src/vs/workbench/parts/debug/electron-browser/debugService.ts
@@ -424,6 +424,9 @@ export class DebugService implements IDebugService {
424
this.focusStackFrame(undefined, undefined, session);
425
}
426
});
427
+ }, err => {
428
+ session.shutdown();
429
+ return TPromise.wrapError(err);
430
431
432
@@ -464,8 +467,6 @@ export class DebugService implements IDebugService {
464
467
return this.telemetryDebugSessionStart(root, session.configuration.type);
465
468
}).then(() => session, (error: Error | string) => {
466
469
- session.shutdown();
-
470
if (errors.isPromiseCanceledError(error)) {
471
// don't show 'canceled' error messages to the user #7906
472
return TPromise.as(undefined);
0 commit comments