# ExecutableLaunchConfiguration Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [ExecutableLaunchConfiguration](/reference/api/csharp/aspire.hosting/executablelaunchconfiguration.md)
- Kind: `Properties`
- Members: `2`

Base properties shared by all launch configurations handed to an IDE or extension host.

<a id="mode"></a>

## Mode

- Name: `Mode`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the launch mode, one of the values on [ExecutableLaunchMode](/reference/api/csharp/aspire.hosting/executablelaunchmode.md).

```csharp
public string Mode { get; set; }
```

## Remarks

Defaults to [ExecutableLaunchMode.Debug](/reference/api/csharp/aspire.hosting/executablelaunchmode/fields.md#debug) when a debugger is attached to the AppHost and [ExecutableLaunchMode.NoDebug](/reference/api/csharp/aspire.hosting/executablelaunchmode/fields.md#nodebug) otherwise. The mode requested by the IDE for the current debug session is passed to the producer callback of [ResourceBuilderExtensions.WithDebugSupport(IResourceBuilder<T>, Func<string, TLaunchConfiguration>, string)](/reference/api/csharp/aspire.hosting/resourcebuilderextensions/methods.md#withdebugsupport-iresourcebuilder-t-func-string-tlaunchconfiguration-string).

<a id="type"></a>

## Type

- Name: `Type`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/ExecutableLaunchConfiguration.cs)

Gets or sets the launch configuration type identifier.

```csharp
public string Type { get; set; }
```
