Select the Terminate command [ Terminate selected debug target ] to terminate the launch associated with the selected debug target.

Once a launch is terminated it can be automatically removed from the Debug View. To change this setting use the Opens the Launching preference page Run/Debug > Launching preference page.

Related concepts

Local debugging
Remote debugging

Related tasks

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

Related reference

Debug View
Debug preferences
Execution Control Commands
Remove All Terminated
Run Menu
Terminate/Disconnect All
Terminate and Relaunch
Terminate and Remove