- Install
gopls
anddap-mode
but don't run(go-dap-setup)
- Download the vs code extension from: https://github.com/microsoft/vscode-go/releases
I used version 0.14.3
- Rename from
*.vsix
to*.zip
. - Unzip so that the
goDebug.js
ends up in~/.emacs.d/.local/etc/dap-extension/vscode/golang.go/out/src/debugAdapter/goDebug.js