PyCharm 3.1.0 Web Help

2.0+

Run | Run

View | Tool Windows | Run

The Run tool window displays output generated by your application. If you are running multiple applications, each one displays in a tab named after the run/debug configuration applied.

Note

The appearance of each tab depends on the type of the application being run and can include additional toolboxes and panes.

The main toolbar of the Run tool window lets you rerun, stop, pause, or terminate an application. The following table contains descriptions of the buttons that are common for most applications.

Run toolbar

Item Tooltip and shortcut Description
rerunConsole Rerun
Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+F11Command RControl F5Command R
Click this button to stop the current application and run it again.
When an application is stopped (stop), this button toggles to rerun.
rerun Rerun
Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+F5Ctrl+F11Command RControl F5Command R
Click this button to rerun the current application.
This button appears, when an application is stopped (stop). When an application is running, this button toggles to rerunConsole .
pauseIcon Pause Output Click this button to have the process output paused.
stop Stop
Ctrl+F2Ctrl+F2Ctrl+2Ctrl+F2Ctrl+F2Shift+F5Shift+F5 or Ctrl+Shift+DeleteCtrl+F2Command F2Command F2Command F2
Click this button to terminate the current process externally by means of the standard shutdown script.
debug_layout Restore Layout Click this button to to have the changes to the current layout abandoned and return to the default state.
pin2.png Pin When this button is pressed, the current tab will not be overwritten; instead, the results of the next command will be displayed in a new tab.
close.png Close
Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+Shift+F4Ctrl+WControl Shift F4Shift Command F4Command W
Click this button to close the selected tab of the Run tool window and terminate the current process.
help.gif Help
F1F1F1F1F1F1F1F1ContextHelpF1ContextHelp
Click this button to show reference.

Console toolbar

Item Tooltip and shortcut Description
arrowUp arrowDown Up/down the Stack Trace
Ctrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpCtrl+Alt+UpAlt Command UpAlt Command UpAlt Command Up Ctrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownCtrl+Alt+DownAlt Command DownAlt Command DownAlt Command Down
Click this button to navigate up or down in the stack trace and have the cursor jump to the corresponding location in the source code.
icon_softWrap Use Soft Wraps Click this button to toggle the soft wrap mode of the output.
scrollToEnd.png Scroll to the end Click this button to navigate to the bottom of the stack trace and have the cursor jump to the corresponding location in the source code.
icon_showCommandLine Show Command Line If this button is pressed, you can enter commands in the console and view output.
In case of remote debug, it is important to note that this button only works when the option Redirect output to console is enabled in the run/debug configuration .
print Print Click this button to send the console text to the default printer.
clear_all Clear All Click this button to remove all text from the console. This function is also available on the context menu of the console.

Karma Server Tab

The tab is shown only when you run JavaScript unit tests using the Karma test runner. Use the tab to view and analyze information from the server. For details, see Running Unit Tests on Karma.

See Also

Concepts:

Procedures:

Reference:

Getting Started:

Web Resources: