Skip to content

Allow relative paths in stack traces#95

Open
g-arjones wants to merge 1 commit into
microsoft:mainfrom
g-arjones:allow_relative_paths_in_stack_traces
Open

Allow relative paths in stack traces#95
g-arjones wants to merge 1 commit into
microsoft:mainfrom
g-arjones:allow_relative_paths_in_stack_traces

Conversation

@g-arjones
Copy link
Copy Markdown

@g-arjones g-arjones commented May 25, 2026

Relative paths can appear in stack traces (e.g. from certain ts-node sourcemap configs). vscode.Uri can't represent a relative path and vscode.Uri.file would prepend a bogus '/', so skip this frame.

Fixes #94

Relative paths can appear in stack traces (e.g. from certain ts-node
sourcemap configs). vscode.Uri can't represent a relative path and
vscode.Uri.file would prepend a bogus '/', so skip this frame.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relative paths in stack traces are converted to absolute paths from '/' (root)

1 participant