How to get debugging working when using @swc/jest? #2769
-
I have been trying for quite a bit today but I just can't figure out how to debug through my tests and code, is there something I need to do to enable debugging, or is it just not supported? I know debugging is working as I can stop on the SWC js code, just not on my typescript code. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You should use |
Beta Was this translation helpful? Give feedback.
-
The problem seems to be happening only with .spec.ts file, or any file that contains a .something.ts |
Beta Was this translation helpful? Give feedback.
You should use
souceMaps: "inline"
In .swcrc or jest.config.jshttps://swc.rs/docs/configuration/compilation#sourcemaps