Add launch section to support input in launch.json

Fixes #63987 verification-found
This commit is contained in:
Alex Ross 2018-12-06 12:25:52 +01:00
parent f6cff39cb4
commit 4978a75210

View file

@ -118,10 +118,10 @@ export class Debugger implements IDebugger {
substituteVariables(folder: IWorkspaceFolder, config: IConfig): Thenable<IConfig> {
if (this.inExtHost()) {
return this.configurationManager.substituteVariables(this.type, folder, config).then(config => {
return this.configurationResolverService.resolveWithInteractionReplace(folder, config, undefined, this.variables);
return this.configurationResolverService.resolveWithInteractionReplace(folder, config, 'launch', this.variables);
});
} else {
return this.configurationResolverService.resolveWithInteractionReplace(folder, config, undefined, this.variables);
return this.configurationResolverService.resolveWithInteractionReplace(folder, config, 'launch', this.variables);
}
}