IntelliJ IDEA 2018.1 Help

Creating Compound Run/Debug Configuration

Suppose you would like to launch multiple Run/Debug configurations simultaneously. For example, you may want to run the sequence of several test configurations, or run several configurations of different type (e.g JavaScript, HTML, etc). IntelliJ IDEA provides you with the dedicated capability for that: a compound Run/Debug configuration. Compound configuration can include multiple configurations of the same or different type with the same or different specified targets.

When you run or debug your code using a compound configuration, you actually launch a sequence of configurations it includes in order they are listed.

To create a compound Run/Debug configuration

  1. Open the Run/Debug configurations dialog. You can access it from the Run | Edit Configurations... main menu or using the run configuration switcher on the toolbar.
  2. In the dialog that opens, click the add button and select Compound option from the Add New Configuration drop down menu.
  3. In the Name field, specify the configuration's name.
  4. Select Share to make this run/debug configuration available to other team members.
  5. To include a new Run/Debug configuration into compound configuration, click the add button and select the desired one from the drop down list.
  6. Click Apply and OK buttons to finish.
Last modified: 26 June 2018