CLion 2017.2 Help

Changing Run/Debug Configuration Defaults

On this page:


For a run/debug configuration of a particular type, you can set up the default values for one or more parameters and save them as template for further usages. In this case, next time when you create a new configuration of that type, the corresponding fields of the dialog will already contain the specified values.

Note that changing the default values does not affect the already existing run/debug configurations.

Configuring defaults

To set up the default values for a run/debug configuration, follow these steps:

  1. On the left pane of the Run/Debug Configurations dialog, select the Defaults node.
  2. To disable the automatic generation of the run configurations for the new targets, unselect the Generate run configurations for new CMake targets automatically check box of the right pane.
  3. To disable the automatic deletion of the run configuration for missing or obsolete targets, unselect the Delete run configurations for missing CMake targets automatically check box.
  4. To enable the silent start of a new process, unselect the Confirm rerun with process termination check box of the right pane. Otherwise, the system will prompt for your confirmation for launching a new process while the other process is running.
  5. Specify the maximum number of temporary configurations to be stored and shown in the Select Run/Debug Configuration drop-down list in the Temporary configurations limit text box of the right pane. Do nothing to keep the default value of 5 configurations.
    cl ac Run DebugDefaults
  6. In the left-hand pane of the run/debug configuration dialog, expand the Defaults node.
  7. From the drop down list under Defaults node, select the desired configuration type. The corresponding configuration template appears in the right-hand pane.
  8. Select the desired configuration type.
  9. Specify the desired parameters of the right pane and click Apply to save the template.
Last modified: 15 December 2017

See Also