Skip to content

Commit 339bb84

Browse files
committed
`dap-go': bump vscode-go version
Version 0.15.0 of vscode-go does not handle maps correctly, adding nulls to them. This bug is fixed in version 0.22.1, so bump it in `dap-go-setup'. The layout of the extension changed: the executable that needs to be run is no longer goDebug.js, bug dist/debugAdapter.js. As such, users will need to manually update `dap-go' using `C-u dap-go-setup'. Fixes #399.
1 parent aa15b9c commit 339bb84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dap-go.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
:type 'string)
3737

3838
(defcustom dap-go-debug-program `("node"
39-
,(f-join dap-go-debug-path "extension/out/src/debugAdapter/goDebug.js"))
39+
,(f-join dap-go-debug-path "extension/dist/debugAdapter.js"))
4040
"The path to the go debugger."
4141
:group 'dap-go
4242
:type '(repeat string))
@@ -47,7 +47,7 @@
4747
:group 'dap-go
4848
:type 'string)
4949

50-
(dap-utils-vscode-setup-function "dap-go" "golang" "go" dap-go-debug-path "0.15.0")
50+
(dap-utils-vscode-setup-function "dap-go" "golang" "go" dap-go-debug-path "0.22.1")
5151

5252
(defun dap-go--populate-default-args (conf)
5353
"Populate CONF with the default arguments."

0 commit comments

Comments
 (0)