我是否需要创建一个 run/debug 配置来在 Pycharm 中进行基本调试
am i required to create a run/debug config to do basic debugging in Pycharm
我是否必须主动创建 run/debug 配置才能调试简单的 python 脚本?我不清楚我要添加到此配置中的具体内容。我已尝试按照 jetbrains 教程“调试您的第一个程序”进行操作,但调试器的行为或外观不像教程示例
its not clear to me what specifically I am going to add to this configuration.
添加配置
转到Run
->Edit Configuration
点击Add New Configuration
Select你要的脚本运行
然后点击应用,就可以运行了。
要调试,只需单击要停止调试器的行
然后使用step-over
你的线路或step-into
你的方法。
我是否必须主动创建 run/debug 配置才能调试简单的 python 脚本?我不清楚我要添加到此配置中的具体内容。我已尝试按照 jetbrains 教程“调试您的第一个程序”进行操作,但调试器的行为或外观不像教程示例
its not clear to me what specifically I am going to add to this configuration.
添加配置
转到
Run
->Edit Configuration
点击
Add New Configuration
Select你要的脚本运行
然后点击应用,就可以运行了。
要调试,只需单击要停止调试器的行
然后使用
step-over
你的线路或step-into
你的方法。