Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

SupportsDebuggingAnnotation

Classsealednet10.0
📦 Aspire.Hosting v13.5.3
Indicates that a resource can be launched by an IDE or extension host so it can be debugged, instead of being started as a plain process by Aspire.
namespace Aspire.Hosting.ApplicationModel;
public sealed class SupportsDebuggingAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
// ...
}
Added by ResourceBuilderExtensions.WithDebugSupport (or its asynchronous overload). The annotation is only honored while a debug session is active; use DebugSupportExtensions.SupportsDebugging to test for that, and DebugSupportExtensions.CreateLaunchConfigurationAsync to inspect the launch configuration the resource will send.
View all properties