-
Notifications
You must be signed in to change notification settings - Fork 282
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
Should it debug typescript files ? #214
Comments
It should. I think it'd be sensible to strip --inspect-brk from args if we see it, and instead use it to flip on our managed If that doesn't solve it, could you share a repo containing your setup so that I could give it a spin? |
With Here is the repo with the problem: https://github.com/DaniGTA/listManager just start "Debug Jest Tests" |
Thanks for adding me! Adjusting your launch config to remove the --inspect flags makes it work--this new debugger boots into inspect mode a little different, and --inspect interferes with that. I think adding a change in this extension to strip out manually-added --inspect flags is appropriate. Also, fun fact, you no longer need to This launch config should work for you. There are two further issues that will be fixed in tonight's 5PM PST build:
|
I noticed in profiles that this was actually a bottleneck for Jest tests (in #214) when running as a cluster. I wanted to use a worker thread for it, but it looks like there's an issue in vscode preventing that[1] for the moment. This cuts the time-to-first-breakpoint in half for the jest tests, which is fairly nice. The child process is killed after 30 seconds of inactivity. I may do an algorithmic optimization pass on the hash in the future. In particular, Node/V8 now has native bigint support, which is almost certainly faster than the `long` library. 1. microsoft/vscode#88386
Thanks, |
FYI I just opened an issue related to Jest having noticed this thread and testing for myself: #222 |
Easiest way to verify:
|
Verified this bug, but the package.json code lens left out the |
I try too debug my jest test's but its writen in typescript and with this js debugger it didnt run.
Just stays with 2,9mb ram in the taskmanager and didnt say debugger atteched.
Without this extension the default debugger works. (no changes at the launch config)
Current launch config:
The text was updated successfully, but these errors were encountered: