From 3f7f72dd2b47276e4e2f6678d9c405f9e4149355 Mon Sep 17 00:00:00 2001 From: isidor Date: Thu, 11 Oct 2018 16:16:09 +0200 Subject: [PATCH] debug: do not prepand DEBUG_SCHEME to paths --- .../workbench/api/electron-browser/mainThreadDebugService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vs/workbench/api/electron-browser/mainThreadDebugService.ts b/src/vs/workbench/api/electron-browser/mainThreadDebugService.ts index f41a7b9caf0..c5e3b642163 100644 --- a/src/vs/workbench/api/electron-browser/mainThreadDebugService.ts +++ b/src/vs/workbench/api/electron-browser/mainThreadDebugService.ts @@ -5,7 +5,7 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle'; import { URI as uri } from 'vs/base/common/uri'; -import { IDebugService, IConfig, IDebugConfigurationProvider, IBreakpoint, IFunctionBreakpoint, IBreakpointData, ITerminalSettings, IDebugAdapter, IDebugAdapterProvider, IDebugSession, DEBUG_SCHEME } from 'vs/workbench/parts/debug/common/debug'; +import { IDebugService, IConfig, IDebugConfigurationProvider, IBreakpoint, IFunctionBreakpoint, IBreakpointData, ITerminalSettings, IDebugAdapter, IDebugAdapterProvider, IDebugSession } from 'vs/workbench/parts/debug/common/debug'; import { TPromise } from 'vs/base/common/winjs.base'; import { ExtHostContext, ExtHostDebugServiceShape, MainThreadDebugServiceShape, DebugSessionUUID, MainContext, @@ -302,7 +302,7 @@ class ExtensionHostDebugAdapter extends AbstractDebugAdapter { if (paths.isAbsolute(source.path)) { (source).path = uri.file(source.path); } else { - (source).path = uri.parse(`${DEBUG_SCHEME}:${source.path}`); + (source).path = uri.parse(source.path); } });