C3D.Extensions.Aspire.VisualStudioDebug
0.1.6
dotnet add package C3D.Extensions.Aspire.VisualStudioDebug --version 0.1.6
NuGet\Install-Package C3D.Extensions.Aspire.VisualStudioDebug -Version 0.1.6
<PackageReference Include="C3D.Extensions.Aspire.VisualStudioDebug" Version="0.1.6" />
paket add C3D.Extensions.Aspire.VisualStudioDebug --version 0.1.6
#r "nuget: C3D.Extensions.Aspire.VisualStudioDebug, 0.1.6"
// Install C3D.Extensions.Aspire.VisualStudioDebug as a Cake Addin #addin nuget:?package=C3D.Extensions.Aspire.VisualStudioDebug&version=0.1.6 // Install C3D.Extensions.Aspire.VisualStudioDebug as a Cake Tool #tool nuget:?package=C3D.Extensions.Aspire.VisualStudioDebug&version=0.1.6
C3D.Extensions.Aspire.VisualStudioDebug
A way to get VisualStudio to attach the debugger for the AspireHost to a running executable project (such as an IISExpressProjectResource
).
Uses a BackgroundService to montior for the Process Id (via executable.pid
) and C3D.Extensions.VisualStudioDebug
to manipulate VisualStudio.
Appropriate debug engines can be enabled, such as Managed (.NET Framework 4.x)
to allow debugging of IIS Express based ASP.Net 4.x Projects.
This mechanism could be extended to attach the debugger to apps in docker containers, or other languages such as nodejs.
Eventing
The C3D.Extensions.Aspire.VisualStudioDebug
package has eventing enabled that fires
BeforeDebugEvent
and AfterDebugEvent
.
This could be listened for, and used to make an http call to any IIS Express based application to start them up after the debugger has attached,
or to launch a browser to the endpoint etc.
Health Checks
A Debugger Attached health check is available which can be added to a resource such that it does not go healthy until the debugger is attached.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Aspire.Hosting (>= 9.1.0)
- C3D.Extensions.VisualStudioDebug (>= 0.1.5)
-
net9.0
- Aspire.Hosting (>= 9.1.0)
- C3D.Extensions.VisualStudioDebug (>= 0.1.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on C3D.Extensions.Aspire.VisualStudioDebug:
Package | Downloads |
---|---|
C3D.Extensions.Aspire.IISExpress
Assembly Version: 0.1.0.0 File Version: 0.1.8.50123 Informational Version: 0.1.8+cbc3ccfa21 Build Configuration: Release |
GitHub repositories
This package is not used by any popular GitHub repositories.