PyCharm 2017.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 /help/img/idea/2017.2/debug.png icon that marks the Debug Tool Window toggles to /help/img/idea/2017.2/active_debug_icon.png to indicate that the debugging process is active.

Last modified: 26 October 2017

See Also