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 Store as project file 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.
Another case where the Compound run configuration could be very useful is running/debugging a front end web application and a backend REST service at the same time. With the debugger attached, this will let you set a breakpoint in any of the projects and debug the entire flow of the application: