Visual Studio Code – how to debug golang in vscode
platform: windows 10 golang version : go1.21.1 windows/amd64 dlv version : Delve Debugger Version: 1.21.1 launch json: "version": "0.2.0", "configurations": [ { "name": "Launch Package", "type": "go", "request": "launch", "mode": "debug", "program": "${fileDirname}" } ] when I start debug with…