# DebugSupportExtensions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.5.3`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/DebugSupportExtensions.cs)

Extension methods for inspecting whether a resource will be launched by an IDE or extension host for debugging rather than started as a plain process by Aspire.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public static class DebugSupportExtensions
{
    // ...
}
```

## Methods

- [CreateLaunchConfigurationAsync(IResource, string, CancellationToken)](/reference/api/csharp/aspire.hosting/debugsupportextensions/methods.md#createlaunchconfigurationasync-iresource-string-cancellationtoken) : `Task<object>` `extension` `ats ignored` -- Creates the launch configuration that this resource sends to the IDE for the given launch mode.
- [HasLaunchToolArgsOwnedBy(IResource, SupportsDebuggingAnnotation)](/reference/api/csharp/aspire.hosting/debugsupportextensions/methods.md#haslaunchtoolargsownedby-iresource-supportsdebuggingannotation) : `bool` `extension` `ats ignored` -- Determines whether the launch configuration performs the resource's tool invocation itself, meaning the resource's launch tool arguments must not also be passed to the launched program.
- [SupportsDebugging(IResource, IConfiguration, SupportsDebuggingAnnotation?)](/reference/api/csharp/aspire.hosting/debugsupportextensions/methods.md#supportsdebugging-iresource-iconfiguration-supportsdebuggingannotation) : `bool` `extension` `ats ignored` -- Determines whether the resource will be launched by the IDE for debugging in the current session.
