Watch Aspire live streamsDocsTry Aspire

SupportsDebuggingAnnotation Properties

ClassProperties1 member
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.
LaunchConfigurationTypeSection titled LaunchConfigurationTypestring
Gets the launch configuration type identifier, for example KnownLaunchConfigurationTypes.Project.
public string LaunchConfigurationType { get; }
The IDE advertises the launch configuration types it can handle; a resource whose type is not advertised is started as a plain process instead.

Exception: when the active debug session does not provide a usable launch configuration capability list (for example Visual Studio, which does not send one), KnownLaunchConfigurationTypes.Project is treated as implicitly supported for non-file-based project resources. File-based C# apps require the IDE to advertise explicit project support.