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 a compound configuration, you actually launch a sequence of configurations it includes in order they are listed.
- Open the Run/Debug configurations dialog. You can access it from the main menu or using the run configuration switcher on the toolbar.
-
In the dialog that opens, click the
button and select
Compound
option from the Add New Configuration drop down menu.
- In the Name field, specify the configuration's name.
- Select Share to make this run/debug configuration available to other team members.
-
To include a new Run/Debug configuration into compound configuration
,
click the
button and select the desired one
from the drop down list.
- Click Apply and OK buttons to finish.