WebStorm 2019.2 Help

Creating Compound Run/Debug Configuration

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

  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 icons.general.add.svg.png and select Compound from the Add New Configuration menu.

  3. In the Name field, specify the configuration's name.

  4. Select Share through VCS to make this run/debug configuration available to other team members.

  5. To include a new run/debug configuration into compound configuration, click icons.general.add.svg.png and select the desired one from the list.

  6. Click Apply and OK buttons to finish.

Last modified: 17 September 2019