-
Hi! I switched a project to using esbuild-dev over ts-node-dev to detect some esbuild specific issues earlier in the dev cycle. It's really helped with that so thanks so much for putting this together! In vscode, with ts-node-dev we used the node debugger. With esbuild-dev, the debugger is attached but line numbers don't match and it goes to the compiled JS not to the source files. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Hi @barticus glad the tools is helpful! This is strange! What debugger are you using? We use the one built into vscode running processes via launch.json as well as via the jest extension to debug tests, and we get dropped into typescript code with correct line numbers. Which version of |
Beta Was this translation helpful? Give feedback.
-
Hi @airhorns , thanks for getting back to me.
Notes:
Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi @airhorns , I've tried your above configuration and am still getting the same issue. I was wondering if you could provide an example for esbuild-dev.js? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Latest build (^0.9.1) seems to have resolved this issue. |
Beta Was this translation helpful? Give feedback.
Latest build (^0.9.1) seems to have resolved this issue.