GoLand 2020.2 Help

Share 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 using the same configuration or enable them to remotely attach to the process you are running.

For these purposes, GoLand provides a mechanism to store your run/debug configurations as 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 keeping them in sync manually would be tedious and error-prone.

  1. Go to the properties of the run/debug configuration you want to share (Run | Edit Configurations), enable the Store as project file option, and specify the location where the file will be stored.

    If compatibility with GoLand 2019.3 and earlier is required, store the file in the default location.

  2. To share the run/debug configuration using a VCS, add the corresponding XML file to the VCS.

Last modified: 08 May 2020