WithExecutableDebugSupport
Method
func (ExecutableResource) WithExecutableDebugSupport( launchConfigurationType string, scriptPath string, options ...*WithExecutableDebugSupportOptions,) ExecutableResourceSignature
method
WithExecutableDebugSupport builderAdds VS Code-compatible debug metadata for an executable resource.
WithExecutableDebugSupport( launchConfigurationType string, scriptPath string, options ...*WithExecutableDebugSupportOptions,) ExecutableResourceParameters
launchConfigurationType stringThe launch configuration type understood by the extension.scriptPath stringThe script path, relative to the executable working directory when not rooted.options...*WithExecutableDebugSupportOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithExecutableDebugSupportOptions argument.
RuntimeExecutable *stringThe optional runtime executable to use in the launch configuration.LaunchMethod *stringThe optional launch method to use in the launch configuration.Returns
ExecutableResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: