简体   繁体   English

IntelliJ IDEA在哪里保留运行/调试配置?

[英]Where does IntelliJ IDEA keep run/debug configurations?

Intellij IDEA will automatically create a run/debug configuration when you run any item that doesn't have a permanent run/debug configuration already present. 当您运行尚不存在永久运行/调试配置的任何项目时,Intellij IDEA将自动创建运行/调试配置。

You can then save the run/debug configuration that was generated to make it permanent. 然后,您可以保存生成的运行/调试配置以使其永久不变。

When you save a configuration, where is it saved? 保存配置时,将其保存在哪里?

run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. 项目的运行/调试配置存储在项目位置内的.idea / workspace.xml文件中。 You can see those entries under the <component name="RunManager" node if you search for "RunManager" in that file. 如果在该文件中搜索“ RunManager”,则可以在<component name="RunManager"节点下看到这些条目。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM