Pycharm 运行/调试配置保存为默认值 [英] Pycharm Run/Debug Configuration saved as default
问题描述
简单的问题,但在任何地方都找不到明确的答案.每次创建新项目时是否都必须创建新的运行/调试配置,并在脚本"中分配 .py 文件,或者有没有办法让 pycharm 自动执行此操作.很想知道!提前致谢:)
Simple question but couldn't find a clear answer anywhere. Do i have to create a new run/debug configuration every time i create a new project, and assign the .py file at "script" or is there a way to make pycharm do this automatically. Would love to know! Thanks in advance :)
推荐答案
您需要基于预定义的模板在每个新项目中创建新的运行/调试配置.
You need to create new run/debug configuration in every new project based on pre-defined templates.
但是,您可以编辑模板
,以便默认设置某些值.
However you can edit a template
so that some of the values will be set by default.
这里是关于如何更改默认值.
Here is the information on how to change defaults.
您也可以使用 临时运行/调试配置.
这篇关于Pycharm 运行/调试配置保存为默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!