PyCharm 2018.2 Help

Starting the Debugger Session

Before debugging

The debug session starts with the selected run/debug configuration. Note that several debug processes can be launched simultaneously.

For example, debugging session for a Python script will start with the default temporary run/debug configuration, unless you select a permanent one.

Debugging an application

To start debugging a Python script

  1. Open the desired Python script in the editor, or select it in the Project tool window.

  2. On the context menu, choose Debug <script name>:

    py_debugScript.png

Note that after you've launched a debug session, the icons actions startDebugger svg icon that marks the Debug Tool Window toggles to active debug icon to indicate that the debugging process is active.

Last modified: 21 November 2018

See Also