Running JavaScript in Browser
Available only in PyCharm Professional: download to try or compare editions
tip
This method works if you do not have a default server configuration. To check that, choose Tools | Deployment | Configuration. 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 . For more information, refer to Create a remote server configuration.
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:
Choose View | Open in Browser from the main menu or press AltF2. Then select the desired browser from the list.
Hover over the code to show the browser icons bar: . Click the icon that indicates the desired browser.
Thanks for your feedback!