![]() |
VOOZH | about |
dotnet add package DebugProbe.AspNetCore --version 1.6.4
NuGet\Install-Package DebugProbe.AspNetCore -Version 1.6.4
<PackageReference Include="DebugProbe.AspNetCore" Version="1.6.4" />
<PackageVersion Include="DebugProbe.AspNetCore" Version="1.6.4" />Directory.Packages.props
<PackageReference Include="DebugProbe.AspNetCore" />Project file
paket add DebugProbe.AspNetCore --version 1.6.4
#r "nuget: DebugProbe.AspNetCore, 1.6.4"
#:package DebugProbe.AspNetCore@1.6.4
#addin nuget:?package=DebugProbe.AspNetCore&version=1.6.4Install as a Cake Addin
#tool nuget:?package=DebugProbe.AspNetCore&version=1.6.4Install as a Cake Tool
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.
dotnet add package DebugProbe.AspNetCore
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.
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";
});
HttpClient request tracingDebugProbe can compare a local trace with a trace captured by another DebugProbe-enabled application.
Typical workflow:
/debug.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.
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:
AuthorizationCookieSet-CookieYou 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"];
});
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.
For full setup details, screenshots, dashboard behavior, configuration options, and live examples, see the documentation:
Contributions are welcome. Please read CONTRIBUTING.md before opening an issue or pull request.
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. |
This package is not used by any NuGet packages.
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 |
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.