pycharm的Python console不能调试当前程序

使用python时,程序能运行,但是不能调试,找了半天解决方法,最后此操作分分钟奏效。

两种方法:
方法一:选中要运行的代码,右键Execute Selection in Console(Alt + Shift + E)。
方法二:菜单栏——Run——Edit Configuration——勾选Show command line afterwards。

猜你喜欢

转载自blog.csdn.net/simpleshao/article/details/79356096