Debugging TypeScript Exercism Locally in VS Code

Hi everyone! I’m pretty new to both TypeScript and Exercism, and I recently configured the VS Code debugger for my TypeScript Exercism solutions. It was a bit of a learning curve for me, so I thought sharing the instructions I compiled might be helpful. You can find them here: https://gist.github.com/blumus/7f200f712f1f30388d0d7335caf09a83

Please keep in mind that I’m still learning, so I might have overlooked something or an obvious step I didn’t mention. Feedback and corrections are welcome! Let me know if you have any questions!

1 Like

Cool stuff!

You probably don’t need ts-node at all, and instead can look at the typescript (tsc) calls in package.json scripts, or soon (Node 24+) use Node’s (experimental) typescript running.

Setting nodeLinker: node-modules completely undoes the caching work plug-n-play provides!

1 Like