Skip to content

Instantly share code, notes, and snippets.

@cfeckardt
Last active January 20, 2021 13:41
Show Gist options
  • Save cfeckardt/688839cee12517511dceedc0657a49fb to your computer and use it in GitHub Desktop.
Save cfeckardt/688839cee12517511dceedc0657a49fb to your computer and use it in GitHub Desktop.

Get dap-mode working on emacs for golang

  1. Install gopls and dap-mode but don't run (go-dap-setup)
  2. Download the vs code extension from: https://github.com/microsoft/vscode-go/releases

I used version 0.14.3

  1. Rename from *.vsix to *.zip.
  2. Unzip so that the goDebug.js ends up in ~/.emacs.d/.local/etc/dap-extension/vscode/golang.go/out/src/debugAdapter/goDebug.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment