<PackageReference Include="NETStandard.Library" Version="2.0.1" />

System.Diagnostics.Debugger

public static class Debugger
namespace System.Diagnostics { public static class Debugger { public static readonly string DefaultCategory; public static bool IsAttached { get; } public static void Break(); public static bool IsLogging(); public static bool Launch(); public static void Log(int level, string category, string message); public static void NotifyOfCrossThreadDependency(); } }