In this part:

No run configuration is required for launching applications with injected JavaScript code from PyCharm. You just open the starting HTML page of your application in the browser and that's it.

  1. Open the HTML file that implements the starting page of your application in the editor.
  2. Do one of the following:
    • To have the application opened in the PyCharm default browser, choose View | Open in browser on the main menu.
    • To have the application opened in Firefox, choose View | Reload in Firefox on the main menu.
    • To have the application opened in a specific browser of your choice, choose View | Web preview on the main menu or press Alt+F2. Then select the desired browser from the pop-up menu.

      Alternatively, hover your mouse pointer over the code to show the browser icons bar, and click the icon that indicates the desired browser:

      browserIcons

JavaScript debugging is supported for Firefox or Google Chrome only.

See Also

Concepts:

Procedures:

Reference:

Web Resources: