From e66d7db35ddca188d8a8e45b2b11e07aa2ff08da Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 27 Feb 2018 12:58:07 +0100 Subject: [PATCH] fixes #44553 --- .../parts/debug/electron-browser/debugConfigurationManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts b/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts index 34a04102180..ead08168dd3 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts @@ -363,10 +363,10 @@ export class ConfigurationManager implements IConfigurationManager { private initLaunches(): void { this.launches = this.contextService.getWorkspace().folders.map(folder => this.instantiationService.createInstance(Launch, this, folder)); - this.launches.push(this.instantiationService.createInstance(UserLaunch, this)); if (this.contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) { this.launches.push(this.instantiationService.createInstance(WorkspaceLaunch, this)); } + this.launches.push(this.instantiationService.createInstance(UserLaunch, this)); if (this.launches.indexOf(this.selectedLaunch) === -1) { this.selectedLaunch = undefined;