Select Close debugger from the File menu to end the program you are debugging and exit the debugger. You can also use F3 to close the debugger.
When you close the debugger, the window positions, sizes, and other settings such as breakpoints are saved in a program profile. This profile is used the next time you debug that program, to establish startup settings for the new debug session.
Note: If you attached the debugger to an already running process, closing the debugger also terminates the process.