IntelliJ IDEA 2019.3 Help

Sharing Run/Debug Configurations

If you are working in a team, you might want to share your run/debug configurations so that your teammates could run the application exactly as you do or enable them to remotely attach to the process you are running.

For these purposes, IntelliJ IDEA provides a mechanism to extract your run/debug configurations from the project files and share them through VCS. The same mechanism can also be used when you want to send your configuration as a file to someone else. This saves a lot of time as run/debug configurations sometimes get sophisticated, and creating them manually is tedious and error-prone.

  1. Go to the properties of the run/debug configuration you want to share (Run | Edit Configurations) and enable the Share through VCS option. This extracts the run/debug configuration from your workspace.xml file and puts it in the .idea/runConfigurations directory.

    Share through VCS box
  2. If you are going to share the run/debug configuration using a VCS, add the corresponding file in .idea/runConfigurations to the VCS.

Last modified: 20 March 2020