PyCharm Edu 3.0 Help

Debugger

File | Settings | Build, Execution, Deployment | Debugger for Windows and Linux
PyCharm Edu | Preferences | Build, Execution, Deployment | Debugger for OS X


Use this page to configure behavior of the Debugger and customize its view.

Common options

ItemDescription
Focus application on breakpoint If this check box is selected, on hitting a breakpoint, PyCharm Edu will show the location of this breakpoint in the editor and will attempt to bring its frame to the front.
Show debug window on breakpointIs this check box is selected, PyCharm Edu activates the Debug Tool Window on hitting a breakpoint.
Hide debug window on process termination Automatically hide the Debug window when the debugged program terminates.
Scroll execution point to centerIf this check box is selected, the line with the current execution point will be kept in the middle of the screen.

Built-in server

ItemDescription
PortUse this spin box to specify the number of the port where the built-in web server runs. The port number should be set to 1024 or higher. By default this port is set to the default PyCharm Edu port through which PyCharm Edu accepts connections from services (63342).
Can accept external connectionsIf this check box is selected, then the files launched on the built-in server running on the specified port, are accessible from a different computer. If this check box is not selected (by default), then only local connections are listened to.
Allow unsigned requests For security reasons, any request to a page on the built-in server from outside PyCharm Edu is by default rejected and the following authorization pop-up window is displayed:
debugger_allow_unsigned_requests.png
To access the requested page, click Copy authorization URL to clipboard and paste the generated token in the address bar of the browser.

However this behaviour may be annoying, for example, it may block your debugging session if manual intervention is impossible. To suppress displaying the authorization pop-up window, select the Allow unsigned requests check box.

Data Views

ItemDescription
Sort values alphabeticallySelect this option to sort the values in the Variables pane of the Debug tool window.
Enable auto expressions in Variables view

Select this option if you want the PyCharm Edu debugger to automatically evaluate expressions and show the corresponding values in the Variables pane of the Debug tool window.

The debugger analyzes the context near the breakpoint (the current statement, one statement before, and one after). It does so to find various expressions in the source code (if available) such as, for example, myvar.myfield.

If such expressions don't contain explicit method invocations, the debugger evaluates them and shows the corresponding values in the Variables view.

Editor

ItemDescription
Show values inlineSelect this option to enable the Inline Debugging feature that allows viewing the values of variables right next to their usage in the editor.
Value tooltips delay (ms) Specify the delay (in milliseconds) between the moment when the mouse pointer hovers over an object in the Variables pane of the Debug tool window, and the moment when a tooltip with the object's value is displayed.

See Also

Procedures:

Last modified: 30 August 2016