Create Compound Run/Debug Configurations
When you run or debug your code using a compound configuration, you actually launch a sequence of configurations it includes in the order they are listed.
Create a compound run/debug configuration
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 and select Compound from the Add New Configuration menu.
In the Name field, specify the configuration's name.
Select Share through VCS to make this run/debug configuration available to other team members.
To include a new run/debug configuration into compound configuration, click and select the desired one from the list.
Click Apply and OK buttons to finish.