Follow the steps given below:
- From the IDE menu bar, select
Window > Preferences
.
- Select
Run/Debug> Launching > Launch Configurations
.
The
Launch Configuration
settings appear.
- Make sure that the
Delete configurations when associated resource is deleted
checkbox is cleared.
Figure 1.
Preferences Dialog Box - Launch Configuration

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