To detach from a process
To detach from all processes simultaneously
If you detach all processes, the debugger session ends automatically.
CAUTION Detaching from a program does not terminate the program. The program continues running on its host machine even though it is no longer attached to the debugger. To make sure the active program terminates, use the Stop Debugging command from the Debug menu. Be careful about stopping system processes, however, which can have sudden, adverse results, including system crashes.