File: src\Shared\Debugger\IDebuggerState.cs
Web Access
Project: src\src\Libraries\Microsoft.AspNetCore.Diagnostics.Middleware\Microsoft.AspNetCore.Diagnostics.Middleware.csproj (Microsoft.AspNetCore.Diagnostics.Middleware)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
#pragma warning disable CA1716
namespace Microsoft.Shared.Diagnostics;
#pragma warning restore CA1716
 
/// <summary>
/// Abstracts debugger presence to increase testability.
/// </summary>
internal interface IDebuggerState
{
    /// <summary>
    /// Gets a value indicating whether a debugger is attached or not.
    /// </summary>
    public bool IsAttached { get; }
}