src/vs/workbench/contrib/debug/browser/debugAdapterManager.ts/AdapterManager/substituteVariables
class AdapterManager:	substituteVariables(debugType: string, folder: IWorkspaceFolder | undefined, config: IConfig): Promise<IConfig> {
		const factory = this.debugAdapterFactories.get(debugType);
		if (factory) {
			return factory.substituteVariables(folder, config);
		}
		return Promise.resolve(config);
	}