How to debug a backend written in Node.js using TypeScript in WebStorm

I am writing a backend for an application in Node.js with Typescript. I am using WebStorm IDE version 11.0.4.

Is there a way to debug code where I can directly add breakpoints in TypeScript not in interrupted JavaScript?

+4
source share
1 answer

Make sure that in the tsconfig.json file inside compilerOptions there is:

"sourceMap": true
+1
source

Source: https://habr.com/ru/post/1656351/


All Articles