Skip to content

Commit 5eb49b0

Browse files
committed
Removed unnecessary debugger helper
1 parent 2390ba7 commit 5eb49b0

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

src/ElectronNET.API/Runtime/Helpers/DebuggerHelper.cs

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/ElectronNET.API/Runtime/Helpers/LaunchOrderDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static bool CheckIsLaunchedByDotNet()
6161

6262
private static bool? CheckIsDotNetStartup3()
6363
{
64-
if (DebuggerHelper.IsAttached)
64+
if (Debugger.IsAttached)
6565
{
6666
return true;
6767
}

src/ElectronNET.API/Runtime/Helpers/UnpackagedDetector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static bool CheckIsUnpackaged()
8181

8282
private static bool? CheckUnpackaged3()
8383
{
84-
if (DebuggerHelper.IsAttached)
84+
if (Debugger.IsAttached)
8585
{
8686
return true;
8787
}

src/ElectronNET.AspNet/API/WebHostBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public static IWebHostBuilder UseElectron(this IWebHostBuilder builder, string[]
112112
{
113113
// Enable detailed errors only in development for security
114114
options.EnableDetailedErrors =
115-
DebuggerHelper.IsAttached ||
115+
Debugger.IsAttached ||
116116
context.HostingEnvironment.IsDevelopment();
117117
});
118118
services.AddSingleton<IElectronNetRuntimeController, RuntimeControllerAspNetDotnetFirstSignalR>();

0 commit comments

Comments
 (0)