MCPcopy Index your code
hub / github.com/microsoft/vscode-js-debug / scriptUrlToUrl

Method scriptUrlToUrl

src/targets/node/nodeTarget.ts:102–106  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

100 }
101
102 scriptUrlToUrl(url: string): string {
103 const isPath = url[0] === '/'
104 || (process.platform === 'win32' && url[1] === ':' && url[2] === '\\');
105 return isPath ? absolutePathToFileUrl(url) : url;
106 }
107
108 supportsCustomBreakpoints(): boolean {
109 return false;

Callers

nothing calls this directly

Calls 1

absolutePathToFileUrlFunction · 0.90

Tested by

no test coverage detected