ExecutableResource.WithExecutableDebugSupport
Method
type ExecutableResource interface { // ... omitted for brevity WithExecutableDebugSupport( launchConfigurationType string, scriptPath string, options ...*WithExecutableDebugSupportOptions, ) ExecutableResource}Signature
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().
Defined on
This method is defined on the following type: