From d1654f29cc06aea1f0d9a0e5e17123f62f0705ca Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 16 Nov 2017 12:10:06 +0100 Subject: [PATCH] deep clone the launch configuration since we make edits to the object fixes #38466 --- .../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 1df24c4726a..70aeef9ccf7 100644 --- a/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/electron-browser/debugConfigurationManager.ts @@ -475,7 +475,7 @@ class Launch implements ILaunch { } public getConfiguration(name: string): IConfig { - const config = this.configurationService.getValue('launch', { resource: this.workspace.uri }); + const config = objects.deepClone(this.configurationService.getValue('launch', { resource: this.workspace.uri })); if (!config || !config.configurations) { return null; } -- GitLab