mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-31 17:28:39 +00:00
[skip ci] Remove unnecessary wait for debugger startup option
This commit is contained in:
parent
daf1cf8a11
commit
637b9c14fa
1 changed files with 0 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue