[skip ci] Remove unnecessary wait for debugger startup option

This commit is contained in:
jvyden 2022-03-18 16:27:37 -04:00
commit 637b9c14fa
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -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();