Select the Terminate/Disconnect All command [ ] to terminate all the running debug targets in the Debug View. If the target cannot be terminated, it will be disconnected.
Once a launch is terminated it can be automatically removed from the Debug View. To change this setting use the Run/Debug > Launching preference page.
Debugger
Local debugging
Remote debugging
Changing debugger launch options
Connecting to a remote VM with the Remote Java application launch configuration
Disconnecting from a VM
Launching a Java program
Preparing to debug
Resuming the execution of suspended threads
Running and debugging
Stepping through the execution of a program
Suspending threads
Debug View
Debug preferences
Execution Control Commands
Relaunch
Remove All Terminated
Terminate
Terminate and Relaunch
Terminate and Remove