PyCharm 4.0.0 Web Help

Sometimes you might need to run or debug a script, an application, or a test , without creating a dedicated run configuration. In this case, PyCharm provides a temporary run configuration.

Temporary run/debug configuration is added to the list of available configurations and works same way as the permanent run/debug configurations. You can change its settings using the Run/Debug Configuration dialog box and optionally save it as permanent.

To create a temporary run configuration
  1. Select the desired script in the Project tool window or open it in the editor.
  2. On the context menu of the selection, choose Run <name> or Debug <name>. Alternatively, press Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+Shift+F10Ctrl+F9Shift+Alt+F6 or Shift+F6Ctrl+Shift+F10Control Shift RControl Shift F10Control Shift R.
    PyCharm creates a temporary configuration, which appears in the Select Run/Debug Configuration drop-down list on the main toolbar when the run or debug session is over.
To save a temporary configuration, do one of the following
  • In the Select Run/Debug Configuration drop-down list on the main toolbar, choose Save <configuration name>.
  • In the Run/Debug Configuration dialog box, click the img button.
  • On the context menu of the editor or Project view, choose Save <configuration name>.

See Also



Web Resources: