Check for attached debugger when exiting
Check for attached debugger when exiting

The previous approach would ask for keyboard input in any debug build,
which presents a problem when running the executable with Process.Start.

ItEndsWithTens/Quinstance