TypeScript TypeScript with ts-node in WebStorm


Example

Add this script to your package.json:

"start:idea": "ts-node %NODE_DEBUG_OPTION% --ignore false index.ts",

Right click on the script and select Create 'test:idea'... and confirm with 'OK' to create the debug configuration:

enter image description here

Start the debugger using this configuration:

enter image description here