VOOZH about

URL: https://www.nuget.org/packages/DebugProbe.AspNetCore

⇱ NuGet Gallery | DebugProbe.AspNetCore 1.6.4




👁 Image
DebugProbe.AspNetCore 1.6.4

dotnet add package DebugProbe.AspNetCore --version 1.6.4
 
 
NuGet\Install-Package DebugProbe.AspNetCore -Version 1.6.4
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DebugProbe.AspNetCore" Version="1.6.4" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DebugProbe.AspNetCore" Version="1.6.4" />
 
Directory.Packages.props
<PackageReference Include="DebugProbe.AspNetCore" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DebugProbe.AspNetCore --version 1.6.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DebugProbe.AspNetCore, 1.6.4"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DebugProbe.AspNetCore@1.6.4
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DebugProbe.AspNetCore&version=1.6.4
 
Install as a Cake Addin
#tool nuget:?package=DebugProbe.AspNetCore&version=1.6.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DebugProbe.AspNetCore

DebugProbe.AspNetCore is a lightweight ASP.NET Core debugging tool for inspecting HTTP traffic directly inside your application.

It captures request and response data, exposes a local dashboard, and helps compare traces across environments so you can spot differences between local, staging, and other API runs.

Links

Install

dotnet add package DebugProbe.AspNetCore

Quick Start

builder.Services.AddDebugProbe();

app.UseDebugProbe();

Start your application and open:

http://localhost:{port}/debug

In Production, DebugProbe captures traces but does not register UI endpoints unless explicitly enabled. DebugProbe does not require authentication by default.

Optional Configuration

builder.Services.AddDebugProbe(options =>
{
 options.MaxEntries = 10;

 options.MaxBodyCaptureSizeKb = 256;

 options.AllowLocalCompareTargets = true;

 options.AllowUiInProduction = false;

 options.CaptureOutgoingHttpClientRequests = true;

 options.IgnorePaths =
 [
 "/api/auth/login",
 "/api/auth/refresh"
 ];

 options.RedactedHeaders =
 [
 ..options.RedactedHeaders,
 "X-Api-Key",
 "X-Auth-Token"
 ];

 options.RedactedQueryParameters =
 [
 "api_key",
 "access_token"
 ];

 options.RedactedJsonFields =
 [
 "password",
 "refreshToken"
 ];
});

app.UseDebugProbe();

To protect DebugProbe endpoints, configure an ASP.NET Core authorization policy and require it when DebugProbe is registered:

builder.Services.AddAuthorization(options =>
{
 options.AddPolicy("DebugProbePolicy", policy =>
 {
 policy.RequireAuthenticatedUser();
 policy.RequireRole("Admin");
 });
});

app.UseAuthentication();
app.UseAuthorization();

app.UseDebugProbe(options =>
{
 options.AuthorizationPolicy = "DebugProbePolicy";
});

Features

  • Request inspection
  • Response inspection
  • Headers, query string, and body capture
  • Error visibility
  • Local debugging dashboard
  • Trace comparison across runs or environments
  • JSON formatting for captured payloads
  • Configurable body capture limits
  • Ignored path configuration for noisy or sensitive endpoints
  • Configurable redaction for sensitive headers, query parameters, and JSON fields
  • Optional ASP.NET Core authorization policy protection for DebugProbe endpoints
  • Optional outgoing HttpClient request tracing

Trace Compare

DebugProbe can compare a local trace with a trace captured by another DebugProbe-enabled application.

Typical workflow:

  1. Run both applications with DebugProbe enabled.
  2. Open the local dashboard at /debug.
  3. Open the trace you want to compare.
  4. Use the compare action and provide the remote application's base URL and trace ID.

Compare is useful when checking differences between local and remote environments, repeated runs, or two versions of the same API flow.

Dynamic values such as IDs, timestamps, tokens, and selected headers are normalized so the compare view focuses on meaningful request and response differences.

Security Defaults

DebugProbe UI endpoints are disabled by default in Production. Capture and trace storage continue to run, but the dashboard, trace viewer, compare UI, UI assets, and UI clear action are not registered unless explicitly enabled:

builder.Services.AddDebugProbe(options =>
{
 options.AllowUiInProduction = true;
});

DebugProbe does not require authentication by default. If you expose DebugProbe outside local development, configure an ASP.NET Core authorization policy and require it for DebugProbe endpoints:

builder.Services.AddAuthorization(options =>
{
 options.AddPolicy("DebugProbePolicy", policy =>
 {
 policy.RequireAuthenticatedUser();
 policy.RequireRole("Admin");
 });
});

app.UseAuthentication();
app.UseAuthorization();

app.UseDebugProbe(options =>
{
 options.AuthorizationPolicy = "DebugProbePolicy";
});

DebugProbe masks common sensitive headers automatically:

  • Authorization
  • Cookie
  • Set-Cookie

You can also configure application-specific values to redact before traces are stored:

builder.Services.AddDebugProbe(options =>
{
 options.RedactedHeaders =
 [
 ..options.RedactedHeaders,
 "X-Api-Key",
 "Client-Secret"
 ];

 options.RedactedQueryParameters = ["token", "api_key", "access_token"];

 options.RedactedJsonFields = ["password", "secret", "refreshToken"];
});

Intended Usage

DebugProbe is designed primarily for local development and controlled development environments.

If you use it outside local development, protect the dashboard with authentication, restrict network access, and avoid capturing sensitive endpoints or payloads.

Documentation

For full setup details, screenshots, dashboard behavior, configuration options, and live examples, see the documentation:

https://debugprobe.dev/docs

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening an issue or pull request.

License

DebugProbe.AspNetCore is licensed under the Apache License 2.0.

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.4 87 6/13/2026
1.6.3 90 6/11/2026
1.6.2 92 6/7/2026
1.6.1 104 6/1/2026
1.6.0 103 5/29/2026
1.5.0 104 5/23/2026
1.5.0-preview.1 50 5/23/2026
1.4.1-preview.2 62 5/22/2026
1.4.1-preview.1 50 5/17/2026
1.4.0 106 5/16/2026
1.4.0-preview.2 51 5/16/2026
1.4.0-preview.1 56 5/12/2026
1.3.2 97 5/13/2026
1.3.1 98 5/11/2026
1.3.0 107 5/10/2026
1.3.0-preview.2 66 5/10/2026
1.3.0-preview.1 66 5/9/2026
1.2.2 98 5/6/2026
1.2.1 102 5/2/2026
1.2.0 97 5/2/2026
Loading failed

Fixes MaxEntries validation to prevent infinite loops caused by invalid configuration values. Improves ignore path matching to prevent false positives, ensuring paths such as /healthcare are no longer ignored when /health is configured. Includes internal refactoring and code cleanup to improve readability, reduce duplication, and enhance maintainability. Adds test coverage for configuration validation and ignore path matching scenarios.