Describe the bug
I can't find a way to have breakpoints to work
To Reproduce
Set a breakpoint ina component and run "Jest current file" debugger => your breakpoint is not reckognized, with either "source map problem" or "breakpoint set but not yet bound message".
Expected behavior
Debugger is able to find the source maps and breakpoints.
Additional context
The TS Webpack setup is tricky:
I want to generate packages when I build the app
Source maps inline do not seem to appear? I've tried to switch to file sourcemap in the webpack config with no luck
Only "./index.ts" is included in the build, since that's the only exposed files => it's the only file with a .js version
I am not sure how to debug this
I wonder if VS code expects one source map per file, which would be weird. Maybe it fails to detect that "index.js" is the built file and that it's where it should look (and instead fetch Form.js or Form.js.map which doesn't exist).
Describe the bug I can't find a way to have breakpoints to work To Reproduce Set a breakpoint ina component and run "Jest current file" debugger => your breakpoint is not reckognized, with either "source map problem" or "breakpoint set but not yet bound message".
Expected behavior Debugger is able to find the source maps and breakpoints.
Additional context
The TS Webpack setup is tricky:
.js
versionI wonder if VS code expects one source map per file, which would be weird. Maybe it fails to detect that "index.js" is the built file and that it's where it should look (and instead fetch Form.js or Form.js.map which doesn't exist).