# SupportsDebuggingAnnotation

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `17.0.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/SupportsDebuggingAnnotation.cs)
- Implements: [IResourceAnnotation](/reference/api/csharp/aspire.hosting/iresourceannotation.md)

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.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class SupportsDebuggingAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Remarks

Added by a `WithDebugSupport` overload on [ResourceBuilderExtensions](/reference/api/csharp/aspire.hosting/resourcebuilderextensions.md). The annotation is only honored while a debug session is active; use [DebugSupportExtensions.SupportsDebugging(IResource, IConfiguration, SupportsDebuggingAnnotation?)](/reference/api/csharp/aspire.hosting/debugsupportextensions/methods.md#supportsdebugging-iresource-iconfiguration-supportsdebuggingannotation) to test for that.

## Properties

- [LaunchConfigurationType](/reference/api/csharp/aspire.hosting/supportsdebuggingannotation/properties.md#launchconfigurationtype) : `string` `get` -- Gets the launch configuration type identifier, for example [KnownLaunchConfigurationTypes.Project](/reference/api/csharp/aspire.hosting/knownlaunchconfigurationtypes/fields.md#project).
