withExecutableDebugSupport

Method
📦 Aspire.Hosting v17.0.0
interface ExecutableResource {
// ... omitted for brevity
withExecutableDebugSupport(
launchConfigurationType: string,
scriptPath: string,
runtimeExecutable?: string,
launchMethod?: string): ExecutableResource;
}

Signature

methodwithExecutableDebugSupportbuilder
Adds VS Code-compatible debug metadata for an executable resource.
withExecutableDebugSupport(
launchConfigurationType: string,
scriptPath: string,
runtimeExecutable?: string,
launchMethod?: string): ExecutableResource
launchConfigurationTypestringThe launch configuration type understood by the extension.
scriptPathstringThe script path, relative to the executable working directory when not rooted.
runtimeExecutablestringoptionalThe optional runtime executable to use in the launch configuration.
launchMethodstringoptionalThe optional launch method to use in the launch configuration.
ExecutableResource

Applies to

This method applies to the following types: