Running JavaScript in Browser
In this section:
To run a file with JavaScript from PhpStorm
No run configuration is required for launching applications with injected JavaScript from PhpStorm. You just open the HTML page with the reference to the required script in the browser and that's it.
This method works if you do not have a default deployment configuration. To check that, choose . In the left-hand pane of the Deployment dialog that opens, the default configuration is shown in bold. To remove this status, select the configuration and click the Use as Default toolbar button , see Creating a Remote Server Configuration for details.
- In the editor, open the HTML file with the JavaScript reference. This HTML file does not necessarily have to be the one that implements the starting page of the application.
- Do one of the following:
See Also
Last modified: 19 July 2017