mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-02 01:58:40 +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
|
#nullable enable
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Threading;
|
|
||||||
using Kettu;
|
using Kettu;
|
||||||
using LBPUnion.ProjectLighthouse.Helpers;
|
using LBPUnion.ProjectLighthouse.Helpers;
|
||||||
using LBPUnion.ProjectLighthouse.Logging;
|
using LBPUnion.ProjectLighthouse.Logging;
|
||||||
|
@ -19,13 +18,6 @@ public static class Program
|
||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
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
|
// Log startup time
|
||||||
Stopwatch stopwatch = new();
|
Stopwatch stopwatch = new();
|
||||||
stopwatch.Start();
|
stopwatch.Start();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue