public ApplicationShutdown() { ShutdownRequested = _cts.Token; _debuggerDetachWatcher = new DebuggerDetachWatcher(RequestShutdown); }