Skip to content
DocsTry Aspire
DocsTry

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 advertise any launch configuration types at all (for example Visual Studio, which does not send a capability list), KnownLaunchConfigurationTypes.Project is treated as implicitly supported rather than falling back to plain process execution.