Where does IntelliJ IDEA keep run/debug configurations?









up vote
0
down vote

favorite












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.



You can then save the run/debug configuration that was generated to make it permanent.



When you save a configuration, where is it saved?










share|improve this question





















  • As near as I can tell, they're saved in <project_directory>/.idea/workspace.xml.
    – Slaw
    Nov 11 at 2:19







  • 1




    And if you mark a configuration as shared, it will be stored in a sub-folder under .idea. That you can use to copy the configuration to another project.
    – yegodm
    Nov 11 at 3:41










  • @yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the workspace.xml file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore files I found for good reason). That's the real problem I was trying to solve!
    – LightCC
    Nov 12 at 4:51















up vote
0
down vote

favorite












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.



You can then save the run/debug configuration that was generated to make it permanent.



When you save a configuration, where is it saved?










share|improve this question





















  • As near as I can tell, they're saved in <project_directory>/.idea/workspace.xml.
    – Slaw
    Nov 11 at 2:19







  • 1




    And if you mark a configuration as shared, it will be stored in a sub-folder under .idea. That you can use to copy the configuration to another project.
    – yegodm
    Nov 11 at 3:41










  • @yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the workspace.xml file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore files I found for good reason). That's the real problem I was trying to solve!
    – LightCC
    Nov 12 at 4:51













up vote
0
down vote

favorite









up vote
0
down vote

favorite











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.



You can then save the run/debug configuration that was generated to make it permanent.



When you save a configuration, where is it saved?










share|improve this question













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.



You can then save the run/debug configuration that was generated to make it permanent.



When you save a configuration, where is it saved?







java intellij-idea run-configuration






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 11 at 2:09









LightCC

1,159725




1,159725











  • As near as I can tell, they're saved in <project_directory>/.idea/workspace.xml.
    – Slaw
    Nov 11 at 2:19







  • 1




    And if you mark a configuration as shared, it will be stored in a sub-folder under .idea. That you can use to copy the configuration to another project.
    – yegodm
    Nov 11 at 3:41










  • @yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the workspace.xml file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore files I found for good reason). That's the real problem I was trying to solve!
    – LightCC
    Nov 12 at 4:51

















  • As near as I can tell, they're saved in <project_directory>/.idea/workspace.xml.
    – Slaw
    Nov 11 at 2:19







  • 1




    And if you mark a configuration as shared, it will be stored in a sub-folder under .idea. That you can use to copy the configuration to another project.
    – yegodm
    Nov 11 at 3:41










  • @yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the workspace.xml file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore files I found for good reason). That's the real problem I was trying to solve!
    – LightCC
    Nov 12 at 4:51
















As near as I can tell, they're saved in <project_directory>/.idea/workspace.xml.
– Slaw
Nov 11 at 2:19





As near as I can tell, they're saved in <project_directory>/.idea/workspace.xml.
– Slaw
Nov 11 at 2:19





1




1




And if you mark a configuration as shared, it will be stored in a sub-folder under .idea. That you can use to copy the configuration to another project.
– yegodm
Nov 11 at 3:41




And if you mark a configuration as shared, it will be stored in a sub-folder under .idea. That you can use to copy the configuration to another project.
– yegodm
Nov 11 at 3:41












@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the workspace.xml file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore files I found for good reason). That's the real problem I was trying to solve!
– LightCC
Nov 12 at 4:51





@yegodm Thanks - I finally put 2-and-2 together and realized that your comment explains how to make the configurations separate from the workspace.xml file (per Slaw's comment and Sand's answer) so that it will be saved by git into a repo (that file is excluded by the .gitignore files I found for good reason). That's the real problem I was trying to solve!
– LightCC
Nov 12 at 4:51













1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager" node if you search for "RunManager" in that file.



enter image description here






share|improve this answer




















  • Great, that's what I was looking for.
    – LightCC
    Nov 12 at 4:49










  • You're welcome.
    – Sand
    Nov 12 at 5:52










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245246%2fwhere-does-intellij-idea-keep-run-debug-configurations%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager" node if you search for "RunManager" in that file.



enter image description here






share|improve this answer




















  • Great, that's what I was looking for.
    – LightCC
    Nov 12 at 4:49










  • You're welcome.
    – Sand
    Nov 12 at 5:52














up vote
1
down vote



accepted










run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager" node if you search for "RunManager" in that file.



enter image description here






share|improve this answer




















  • Great, that's what I was looking for.
    – LightCC
    Nov 12 at 4:49










  • You're welcome.
    – Sand
    Nov 12 at 5:52












up vote
1
down vote



accepted







up vote
1
down vote



accepted






run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager" node if you search for "RunManager" in that file.



enter image description here






share|improve this answer












run/debug configurations for a project are stored in the .idea/workspace.xml file inside the project location. You can see those entries under the <component name="RunManager" node if you search for "RunManager" in that file.



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 11 at 8:12









Sand

6529




6529











  • Great, that's what I was looking for.
    – LightCC
    Nov 12 at 4:49










  • You're welcome.
    – Sand
    Nov 12 at 5:52
















  • Great, that's what I was looking for.
    – LightCC
    Nov 12 at 4:49










  • You're welcome.
    – Sand
    Nov 12 at 5:52















Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49




Great, that's what I was looking for.
– LightCC
Nov 12 at 4:49












You're welcome.
– Sand
Nov 12 at 5:52




You're welcome.
– Sand
Nov 12 at 5:52

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245246%2fwhere-does-intellij-idea-keep-run-debug-configurations%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







這個網誌中的熱門文章

How to read a connectionString WITH PROVIDER in .NET Core?

In R, how to develop a multiplot heatmap.2 figure showing key labels successfully

Museum of Modern and Contemporary Art of Trento and Rovereto