Running and debugging TypeScript
To generate source maps during compilation
- Open the tsconfig.json file and make sure the sourceMap property is set to true.
To debug a TypeScript application running on an external web server
- Configure and set breakpoints in the TypeScript code.
- Choose the newly created configuration in the Select run/debug configuration drop-down list on the toolbar and click . The URL address specified in the run configuration opens in the chosen browser and the Debug Tool Window appears.