When I save my launch configurations as a local file and then delete the project, all the local configurations get deleted as well. How can I resolve this issue?

Follow the steps given below:

  1. From the IDE menu bar, select Window > Preferences .
  2. Select Run/Debug> Launching > Launch Configurations .

    The Launch Configuration settings appear.

  3. Make sure that the Delete configurations when associated resource is deleted checkbox is cleared.
    Figure 1. Preferences Dialog Box - Launch Configuration

    Preferences Dialog Box - Launch Configuration

  4. Click OK .

Now, the configurations will not be deleted when the associated resource is project.