PyCharm 2020.2 Help

Configure Debugger Options

PyCharm supports debugging for Pythonand Django applications, classes, and files. The debugging functionality is incorporated in PyCharm, you only need to configure its settings.

Depending on the plugins enabled, PyCharm can also support debugging for other languages, for example, JavaScript.

In PyCharm, the JavaScript debugger works out of the box and in most cases its default settings are sufficient. If necessary, you can configure the debugger as described in Configuring JavaScript debugger.

PyCharm supports debugging client-side applications running on the built-in or an external web server. Debugging can be performed only using Google Chrome and other browsers of the Chrome family.

Configuring debugger settings

To configure settings required for debugging, perform the following general steps

  1. In the Project Structure, configure the roots, dependencies and libraries to be passed to the interpreter.

  2. In the Settings/Preferences dialog Ctrl+Alt+S, configure the debugger options:
    • Under the Build, Execution and Deployment section, click Debugger, and configure the debugger options.

    • Under the Build, Execution and Deployment section, click Python Debugger, and configure the Python debugger options.

Last modified: 08 May 2020