Creating new launch configurations from existing launch configurations

You can create new launch configurations by copying existing launch configurations.
  1. In a workbench perspective that offers the launch/debug/run action set (such as the Debug perspective), perform one of the following tasks:
    • Select Run > Debug from the workbench menu bar to open the Debug launch configurations dialog box.
    • Click the down arrow next to the workbench toolbar Debug push button and choose Debug from the list. This will open the Debug launch configurations dialog box.
  2. In the Debug launch configurations dialog box, right-click the launch configuration that you want to copy. You might need to expand the launch configuration type node to find the launch configuration.
  3. Choose Duplicate from the pop-up menu.
  4. The duplicate launch configuration is displayed below the launch configuration that it was copied from. Its settings are the same as the launch configuration that was copied. These are displayed on the right-hand side of the Debug launch configurations dialog box.
  5. Alter these settings as required for your new launch configuration. Further information about these settings can be found in debugger help task files which describe creating launch configurations.
  6. If all information mandatory to the launch configuration has been provided, the Debug and Apply push buttons will be enabled. Clicking Apply will save the launch configuration, at which point you can choose to close the dialog box without launching the debug session or you can click Debug to launch a debug session using the new launch configuration. If you click Debug, any changes to the launch configuration will be saved and a debug session will be launched.

    After you have saved a debug launch configuration, you can edit it. For further information about editing debug launch configurations, see the related task.

    Tip: If you have not yet saved launch configuration settings and if you have made entries in the launch configuration settings that you want to remove or change, clicking Revert will remove all changes that you have made.
  7. If information mandatory to the launch configuration has not been provided or if there are errors in the information that you have provided, messages at the top of the dialog box will indicate what is missing.
  8. When you are finished working in the dialog box, click Close to exit it.
Related tasks
Starting a debug session with an existing launch configuration
Editing launch configurations
Removing launch configurations

Feedback