PyCharm 2020.2 Help

Start the debugger session

Before debugging

  1. Set breakpoints in the source code.

  2. If necessary, create or modify the corresponding Run/Debug configuration .

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.

To start debugging a Python script

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

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


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

Last modified: 19 August 2020