PyCharm 4.0.0 Web Help

File | Settings | Tools | Web Browsers

Use this page to specify in which Web browsers PyCharm will open HTML files upon request and whether a browser will be launched by running its executable file or through the default system command.


In this section, specify which browsers will be available for previewing HTML output. The page displays all the browsers supported in PyCharm, each browser presented in a separate line of the table. To configure the use of a browser, use the controls to the right.

You can enable as many browsers as you need.

Item Description
add Click this button to add a browser to the list.
delete Click this button to delete the selected browser from the list. Note that you cannot delete the predefined browsers.


The button is available only when the Firefox and Chrome are selected.

In the Firefox Settings dialog box, specify the Firefox browser profile to use for previewing output:

  • Path to "profiles.ini": in this text box, specify the location of the profiles.ini file, which determines the Firefox profile to be used.
  • Profile: from this drop-down list, select the desired predefined profile to use.

In the Chrome Settings dialog box:

  • Command line options: In this text box, enter the command line options to launch an instance of Chrome. If you need more space, click shift-enter-button, or press Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift Enter to open the editor box.
  • Use custom profile directory: Select this check box to define Chrome profile to be used.If this check box is selected, in the text box below, specify the location of the chrome-user-data directory, which determines the Chrome profile to be used.
  • Enable remote debug on port: Select this check box to allow remote debugging, and specify the port number.
Click this button to change the browser settings. This button is only enabled when Firefox or Chrome browsers are selected.
arrowUparrowDown Use these buttons to move the selected browser up or down in the list. The order of browsers is important for rendering external resources and previewing files with Web contents.
copy Click this button to create a copy of the selected browser.
Column Description
Active Select this check box to enable the use of the respective browser through the icons toolbar browserIcons in the editor or through the View | Open in Browser command.

If this check box is not selected, the corresponding browser icon will not appear in the icons toolbar or pop-up menu.

Name In this column, specify the browser name.
Family In this column, specify the browser family.
Path In this column, specify the path to the executable. Click the ellypsis button to have PyCharm launch the respective browser using its executable file. In the dialog that opens, choose the path to the executable file of the corresponding browser.

Default web browser

In this section, specify the browser that will be used for rendering external resources and previewing files with Web contents. Also define the browser's behaviour, if the URL address passed to it points to an archive.

Item Description
Default browser Select the default browser from the drop-down list. The possible options are:
  • System default: Select this option to accept your operating system default Web browser as default for PyCharm.
  • First listed: Select this option to have PyCharm launch the first browser in the list. Change the order or browsers using arrowUp and arrowDown buttons.
  • Custom path: Select this option to specify another Web browser as default for PyCharm. Type the path to the executable file of the browser or click ellypsis to select the path in the Select Path to Browser dialog box.
Show confirmation before extracting files Select this check box to have a confirmation dialog box displayed before extracting files, if an archive is referenced.
Clear extracted files Click this button to remove all the previously extracted files from the browser's cache.

See Also



Web Resources: