SupportsDebuggingAnnotation
Classsealednet10.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{ // ...}Remarks
Section titled Remarks 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.