intellij-idea

IntelliJ: Doesn't Save my edit configuration settings


When i do Edit->Run Debug Configurations, the settings that i have put in for working directory, vm options etc do not stick. I would run a program and come back to see that the options are no longer set for the next run.

Is there a way to sticky these settings?


Solution

  • You can save your run configuration to ensure that it (and anything configured within in) is available for future use.

    Click on the file/save icon in the Run/Debug Configurations window.

    Here's a screenshot:

    enter image description here

    More details in the docs. Specifically:

    Saving a temporary run/debug configuration

    To save a temporary configuration, do one of the following

    In the Run/Debug Configuration selector, choose Save .

    In the Run/Debug Configuration dialog box

    On the context menu of the editor or Project view, choose Save .