Step 1: Download and Install NodeJS
Step 2: Create your TS file to debug:
Step 3 : Install Typescript debug extension:
Step 4: Add config file:
Finally the config file is like:
Step 5: Install
npm i ts-node typescript
Please notice here please don't add -g
Step 6: Click Run->Start debugging, see the breakpoint is hit: