Watch Aspire live streamsDocsTry Aspire

SupportsDebuggingAnnotation

Classsealednet10.0
📦 Aspire.Hosting v13.6.0
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 a WithDebugSupport overload on ResourceBuilderExtensions. The annotation is only honored while a debug session is active; use DebugSupportExtensions.SupportsDebugging to test for that.
View all properties