Debugging

suggest change

Introduction

There are two ways of running and debugging TypeScript:

Transpile to JavaScript, run in node and use mappings to link back to the TypeScript source files

or

Run TypeScript directly using ts-node

This article describes both ways using Visual Studio Code and WebStorm. All examples presume that your main file is index.ts.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents