[英]Pycharm Run/Debug Configuration saved as default
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.
每次创建新项目时是否都必须创建新的运行/调试配置,并在“脚本”中分配 .py 文件,或者有没有办法让 pycharm 自动执行此操作。 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 .但是,您可以
edit a template
以便默认设置某些值。
Here is the information on how to change defaults. 以下是有关如何更改默认值的信息。
You can also use temporary run/debug configurations .您还可以使用临时运行/调试配置。
You can run a .py file directly without manually creating a Run/Debug Configuration.您可以直接运行 .py 文件,而无需手动创建运行/调试配置。 To do so, right click on the file in the Project view and select either the Run or Debug option from the context menu.
为此,请右键单击项目视图中的文件,然后从上下文菜单中选择运行或调试选项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.