🐛 How to debug TypeScript and Jest via VSCode

katopz
Aug 8, 2021

--

Debugging somehow easier for each release but it keep breaking my deprecated/outdated setup so I decide to make minimal working one.

FYI: Here’s outdated 2016 version and no TypeScript (skip this)

TLDR: And here’s 2021 version (use this)

Hit run/debug and done

Example

Setup

yarn

Debug

Hit F5 to start debugging

And that’s it! It’s mean to be minimal as possible, Happy Coding!

--

--