VulcanJS / vulcan-npm

The full-stack JavaScript App Framework
https://vulcan-docs.vercel.app
MIT License
30 stars 8 forks source link

"Jest" debugger broken #54

Open eric-burel opened 3 years ago

eric-burel commented 3 years ago

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 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).