Select Terminate command [ ] to terminate the launch associated with the selected debug target.
Once a launch is terminated it can be automatically removed from Debug View.
Local debugging
Debug View Relaunch
Debug View Run menu actions