From 637b9c14fac0b553d91b9c331f7cdb06a71da123 Mon Sep 17 00:00:00 2001 From: jvyden Date: Fri, 18 Mar 2022 16:27:37 -0400 Subject: [PATCH] [skip ci] Remove unnecessary wait for debugger startup option --- ProjectLighthouse/Program.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ProjectLighthouse/Program.cs b/ProjectLighthouse/Program.cs index 020dc50b..8f1a64d0 100644 --- a/ProjectLighthouse/Program.cs +++ b/ProjectLighthouse/Program.cs @@ -1,7 +1,6 @@ #nullable enable using System; using System.Diagnostics; -using System.Threading; using Kettu; using LBPUnion.ProjectLighthouse.Helpers; using LBPUnion.ProjectLighthouse.Logging; @@ -19,13 +18,6 @@ public static class Program { public static void Main(string[] args) { - if (args.Length != 0 && args[0] == "--wait-for-debugger") - { - Console.WriteLine("Waiting for a debugger to be attached..."); - while (!Debugger.IsAttached) Thread.Sleep(100); - Console.WriteLine("Debugger attached."); - } - // Log startup time Stopwatch stopwatch = new(); stopwatch.Start();