To run or debug your code in CLion, you can use various Run/Debug configurations. Each configuration is a named set of run/debug startup properties.
CLion generates Run/Debug configurations based on configuration templates. Each template has its own customizable settings. When you create a new configuration out of a certain template, it is generated with the template's settings.
Run/debug configuration templates
The templates with default run/debug configuration settings are listed in the Run/Debug Configurations dialog under the Templates node. They denote the settings that are used when new run/debug configurations are created.
You can set the default settings for a specific configuration type that will become applicable to any run/debug configuration of this type created later. Changing defaults does not affect the existing run/debug configurations.
The process of editing per-type default configuration settings is described in Change Configuration Templates. The process of creating or editing custom run/debug configurations is described in Create and Edit Configurations.