No run configuration is required for launching applications with injected TypeScript from PhpStorm.
- Transpile the TypeScript code into Javascript.
- In the editor, open the HTML file with the TypeScript reference. This HTML file does not necessarily have to be the one that implements the starting page of the application.
- Manually replace the reference to the TypeScript file with the reference to the JavaScript file that was generated through the transpilation.
-
Do one of the following:
- To have the application opened in the PhpStorm default browser, choose on the main menu.
- To have the application opened in Firefox, choose on the main menu.
-
To have the application opened in a specific browser of your choice,
choose on the main menu or press Alt+F2Alt+F2.
Then select the desired browser from the pop-up menu.
Tip
Alternatively, hover your mouse pointer over the code to show the browser icons bar, and click the icon that indicates the desired browser:


