MPS 2017.3 Help

Run/Debug Configurations Dialog

Run | Edit Configurations
N/A
N/A


Use this dialog box to create, edit, or remove run/debug configurations, and configure the default settings that will apply to all newly created run/debug configurations.

Click here for the description of the options that are common for all run/debug configurations.

The default settings are grouped under the Defaults node in the left-hand part of the dialog box.

Toolbar

ItemShortcutDescription
add N/A Click this button to add a new configuration to the list.
delete N/A Click this button to remove the selected configuration from the list.
copy N/A Click this button to create a copy of the selected configuration.
settings Edit defaultsClick this button to edit the default configuration templates. The defaults are used for newly created configurations.
arrowUp or arrowDown N/A or N/A Use these buttons to move the selected configuration or folder up and down in the list.

The order of configurations or folders in the list defines the order in which configurations appear in the Run/Debug drop-down list on the main toolbar.

sortAlphabetically Sort configurations Click this button to sort configurations in alphabetical order.

Common options

ItemDescription
NameIn this text box, specify the name of a new run/debug configuration. This field is not available for the default run/debug configurations.
Defaults This node in the left-hand pane contains the default run/debug configuration settings. Select configuration to modify its default settings in the right-hand pane. The defaults are applied to all newly created run/debug configurations.
Share Select this check box to make the run/debug configuration available to other team members.

The shared run/debug configurations are kept in separate xml files under .idea\runConfigurations folder, while the local run/debug configurations are kept in the .idea\workspace.xml.

This check box is not available when editing the run/debug configuration defaults.

Before launchUse the controls in this area to specify which tasks must performed before applying the run/debug configuration. The tasks are performed in the order they appear in the list. The following options are available:
  • add (N/A): click this icon to add a task to the list. Select one of the following task types:
    • Run External tool. Select this option to run an application which is external to MPS. In the dialog that opens, select the application or applications that should be run. If the necessary application is not defined in MPS yet, add its definition.
    • Run Another Configuration: select this option to execute one on the existing run/debug configuration. Choose a configuration to execute from the dialog box that opens.
  • delete (N/A): click this icon to remove the selected task from the list.
  • edit1 (N/A): click this icon to modify the selected task. Edit the task settings in the dialog that opens.
  • arrowUp (N/A): click this icon to move the selected task up in the list.
  • arrowDown (N/A): click this icon to move the selected task down in the list.
  • Show this page: select this check box if you want to display the run/debug configuration settings before applying it.
  • Active tool window: select this option if you want the Run/Debug tool windows to be activated automatically when you run/debug your application. This option is enabled by default.

Defaults

ItemDescription
Confirm rerun with process terminationThe behavior of this checkbox depends on whether the Single instance only checkbox is selected for a particular run/debug configuration.
  • If this checkbox is selected, then, in case of a single instance, launching a new process (for example, by clicking run on the main toolbar) while another process is still running, results in showing a dialog box prompting to terminate the current process before launching a new one.
  • If this checkbox is not selected (or in case of multiple instances), MPS starts the new process silently.
Temporary configurations limit Specify here the maximum number of temporary configurations to be stored and shown in the Select Run/Debug Configuration drop-down list.
Last modified: 6 December 2017