<PackageReference Include="Serilog" Version="4.3.2-dev-02418" />

System.Diagnostics.DebuggerDisableUserUnhandledExceptionsAttribute

If a .NET Debugger is attached which supports the Debugger.BreakForUserUnhandledException(Exception) API, this attribute will prevent the debugger from breaking on user-unhandled exceptions when the exception is caught by a method with this attribute, unless BreakForUserUnhandledException is called.