import { DebugConfiguration } from "vscode" ; import { FuncVersion } from "../../../FuncVersion" ; import { localize } from "../../../localize" ; import { ScriptInitVSCodeStep } from './ScriptInitVSCodeStep' ; export class DotnetScriptInitVSCodeStep extends ScriptInitVSCodeStep { protected getDebugConfiguration ( version ) { return { name : localize ( 'attachToNetFunc' , "Attach to .NET Script Functions" ) , type : version === FuncVersion . v1 ? 'clr' : 'coreclr' , request : 'attach' , processId : '\${command:azureFunctions.pickProcess}' } ; } protected getRecommendedExtensions ( ) { return [ 'ms-dotnettools.csharp' ] ; } }