From d969678fa099d7d1285ee1a641ec70f5fbfd6903 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 4 Feb 2016 19:56:14 +0100 Subject: [PATCH] debug: no longer automatically convert relative to absolute paths --- .../debug/node/debugConfigurationManager.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts index a691d83ccb2..e5390296972 100644 --- a/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts +++ b/src/vs/workbench/parts/debug/node/debugConfigurationManager.ts @@ -242,12 +242,7 @@ export class ConfigurationManager { this.configuration[key] = this.systemVariables.resolve(this.configuration[key]); }); } - this.configuration.debugServer = config.debugServer; - this.configuration.outDir = this.resolvePath(this.configuration.outDir); - this.configuration.program = this.resolvePath(this.configuration.program); - this.configuration.cwd = this.resolvePath(this.configuration.cwd || '.'); - this.configuration.runtimeExecutable = this.resolvePath(this.configuration.runtimeExecutable); } }); } @@ -342,17 +337,6 @@ export class ConfigurationManager { return !!this.allModeIdsForBreakpoints[modeId]; } - private resolvePath(p: string): string { - if (!p) { - return null; - } - if (path.isAbsolute(p)) { - return paths.normalize(p, true); - } - - return paths.normalize(uri.file(paths.join(this.contextService.getWorkspace().resource.fsPath, p)).fsPath, true); - } - public loadLaunchConfig(): TPromise { return this.configurationService.loadConfiguration('launch'); }