The available run/debug configurations are displayed in the drop-down list in the Run area of the main toolbar:

py_runConfigMenuSelect.png

PyCharm provides the Run/Debug Configuration dialog box as a tool for handling run/debug configurations: create configuration profiles or change the default ones.

PyCharm suggests the following ways to create a run/debug configuration:

  1. Open the Run/Debug Configuration dialog box by doing one of the following:
    • On the main menu, choose Run | Edit Configurations.
    • Press Alt+Shift+F10, then press 0 to display the Edit Configuration dialog box or select the configuration from the pop-up window and press F4.
  2. In the Run/Debug Configuration dialog box, click add.png on the toolbar or press Insert. The drop-down list shows the default run/debug configurations. Select the desired configuration type:

    py_add_new_configuration.png

    The fields that appear in the right pane display the default settings for the selected configuration type.

    If you want to change the default run/debug configuration settings, expand the Defaults node, select the desired configuration type, and modify it as required.

  3. In the Name text box, specify the name of the new configuration. This name will be shown in the list of available configurations.

    To use an existing configuration as a pattern, create its copy by clicking the Copy button copy.gif on the toolbar, then change it as required.

  4. Specify additional parameters depending on the configuration type. Refer to the descriptions of run/debug configuration parameters below the Run/Debug Configurations section.
  5. Apply the changes and close the dialog box.

See Also

Concepts:

Reference:

Web Resources: