-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-jest (and maybe ts-node) files do not get source mapped when debugging. #1100
Comments
Thanks for the issue and repro! This is due to logic that we added to help with monorepos, where we default to resolving sourcemaps in the nearest package.json-containing directory relative to the program. In this case that meant we only resolve sourcemaps in This'll be fixed in Monday's nightly debugger build. You can also explicitly set
Update: This will also be in the 1.60.1 patch release which we expect to land Monday the 13th |
Given this regressed VSC 1.60 (which just came out), will this be backported or anything? |
Yes I think I will introduce this as a candidate for 1.60.1. |
Changed to August 2021 recovery milestone so that we can track it from our queries. |
Describe the bug
When we updated to 1.60 today, we noticed that we couldn't set breakpoints our tests anymore, or if they worked, they'd be on the wrong line, and anything we browsed was the unmapped code (not the original TS source).
To Reproduce
I have created a self-contained reproducer here: https://github.com/jakebailey/ts-jest-vsc-repro
Log File
vscode-debugadapter-2d0009e1.json.gz
VS Code Version: 1.60
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: