Select the Terminate All command [
] to terminate all the running debug targets in the selected Debug View.
Once a launch is terminated it can be automatically removed from the debug view via the preference to remove terminated launches when a new one is created on the
Run/Debug > Launching preference page.

Debugging Locally
Debugging Remotely

Debug View
Context Menu Items
Relaunch
Remove All Terminated
Terminate
Terminate and Relaunch
Terminate and Remove