From 6a6ca03f3e2d7a3b161320e6b382d41a8d2b323b Mon Sep 17 00:00:00 2001 From: isidor Date: Tue, 5 Jul 2016 09:51:14 +0200 Subject: [PATCH] debug: variable substitution shouuld not replace full content fixes #8378 --- src/vs/workbench/parts/debug/node/debugConfigurationManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts index 40f38f2ce20..7065485acda 100644 --- a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts @@ -280,7 +280,7 @@ export class ConfigurationManager implements debug.IConfigurationManager { if (!result) { this.configuration.silentlyAbort = true; } - interactiveVariablesToKeys[interactiveVariable].forEach(key => this.configuration[key] = result); + interactiveVariablesToKeys[interactiveVariable].forEach(key => this.configuration[key] = this.configuration[key].replace(`\${command.${ interactiveVariable }}`, result)); }); } }; -- GitLab