# 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/2d325b13709752ba6d9a943635c5e2940a2530c0/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 directly to mode-based producers and is available to context-based producers through [LaunchConfigurationCallbackContext.Mode](/reference/api/csharp/aspire.hosting/launchconfigurationcallbackcontext/properties.md#mode).

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

## Type

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

Gets or sets the launch configuration type identifier.

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