Minimal Vscode Typescript Setup
Just some notes so I don’t have to figure this out once again.
mkdir hw
cd hw
tsc --init
vim tsconfig.json # edit to uncomment sourceMap line
vim hw.ts
code .
Now
- Open typescript file inside vscode editor
- Under Terminal menu, run “watch” build task.
- Set desired breakpoints
- Under Run menu, “Start Debugging”