当前位置:主页 > 软件编程 > Python代码 >
时间:2021-01-26 15:21:27 | 栏目:Python代码 | 点击:次
使用python时,程序能运行,但是不能调试,找了半天解决方法,最后此操作分分钟奏效。
两种方法:
方法一:选中要运行的代码,右键Execute Selection in Console(Alt + Shift + E)。
方法二:菜单栏――Run――Edit Configuration――勾选Show command line afterwards。