We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4490d96 + f4c67ac commit 52b5d86Copy full SHA for 52b5d86
src/targets/node/nodeSourcePathResolver.ts
@@ -73,6 +73,11 @@ export class NodeSourcePathResolver extends SourcePathResolverBase<IOptions> {
73
public async urlToAbsolutePath({ url, map }: IUrlResolution): Promise<string | undefined> {
74
url = this.normalizeSourceMapUrl(url);
75
76
+ // It's possible the source might be using the `sourceURL`, so apply
77
+ // any source map overrides now (fixes vscode#204784) and before file
78
+ // URIs (vscode-dwarf-debugging-ext#7)
79
+ url = this.sourceMapOverrides.apply(url);
80
+
81
// Allow debugging of externally loaded Node internals
82
// [ by building Node with ./configure --node-builtin-modules-path $(pwd) ]
83
if (url.startsWith(localNodeInternalsPrefix) && this.options.basePath) {
0 commit comments