From 016df96eb026ed936483f30ff09060ad4565905a Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 25 Oct 2016 15:53:01 +0200 Subject: [PATCH] debug: no need to set initializing state when attaching, it will be done inside the createProcess fixes #14417 --- src/vs/workbench/parts/debug/electron-browser/debugService.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/electron-browser/debugService.ts b/src/vs/workbench/parts/debug/electron-browser/debugService.ts index 834ada45019..57ebf85efcd 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugService.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugService.ts @@ -750,7 +750,6 @@ export class DebugService implements debug.IDebugService { return session.attach({ port }); } - this.setStateAndEmit(session.getId(), debug.State.Initializing); return this.configurationManager.getConfiguration(this.viewModel.selectedConfigurationName).then((configuration: debug.IExtHostConfig) => this.doCreateProcess({ type: configuration.type, -- GitLab