Skip to content

Commit

Permalink
debug: use debug scheme when parsing paths to uris
Browse files Browse the repository at this point in the history
fixes #59430
  • Loading branch information
isidorn committed Oct 4, 2018
1 parent 0bee142 commit 84f1d0d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 } from 'vs/workbench/parts/debug/common/debug';
import { IDebugService, IConfig, IDebugConfigurationProvider, IBreakpoint, IFunctionBreakpoint, IBreakpointData, ITerminalSettings, IDebugAdapter, IDebugAdapterProvider, IDebugSession, DEBUG_SCHEME } from 'vs/workbench/parts/debug/common/debug';
import { TPromise } from 'vs/base/common/winjs.base';
import {
ExtHostContext, ExtHostDebugServiceShape, MainThreadDebugServiceShape, DebugSessionUUID, MainContext,
Expand Down Expand Up @@ -299,7 +299,7 @@ class ExtensionHostDebugAdapter extends AbstractDebugAdapter {
if (paths.isAbsolute(source.path)) {
(<any>source).path = uri.file(source.path);
} else {
(<any>source).path = uri.parse(source.path);
(<any>source).path = uri.parse(`${DEBUG_SCHEME}:${source.path}`);
}
});

Expand Down

0 comments on commit 84f1d0d

Please sign in to comment.