SoFunction
Updated on 2024-10-28

Solve the problem that pycharm's Python console can not debug the current program

When using python, the program can run, but not debugging, looking for a solution, and finally this works in minutes.

Two methods:

Method I:Select the code you want to run and right-click Execute Selection in Console (Alt + Shift + E).

Method II:menu bar——Run——Edit Configuration——tickShow command line afterwards。

This solution to the problem that pycharm's Python console cannot debug the current program is all that I have shared with you above.