For more details about using transpilers in PhpStorm, see the section Using File Watchers.
To debug TypeScript code, perform these general steps:
- In the editor, open the HTML files with the TypeScript references.
- If you are using Chrome, install and configure the JetBrains Chrome Extension. For details, see Using JetBrains Chrome Extension.
- Step through the program, stop and resume program execution, examine it when suspended, etc.