Create compound run/debug configurations
A Compound run configuration lets you launch several run/debug configurations at a time. This may happen when you need to debug the client-side code and the server-side code simultaneously while the server is started, for example, via npm.
Another case is when you need to start both your application and the database it uses. Just create a Shell Script configuration to start the database and a configuration of the relevant type to start your application and add them both to the Compound configuration.
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.