Support multiple files on GoDebug (#44)

Running `GoDebug` on `main()` will fail if there are multiple files in `package main` since the other files won't be compiled along with the target file.
pull/45/head
Vincent Xiao 3 years ago committed by GitHub
parent f59422008a
commit 21017717c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -145,7 +145,7 @@ M.run = function(...)
dap.configurations.go = {dap_cfg}
dap.continue()
else
dap_cfg.program = "${file}"
dap_cfg.program = sep .. "${relativeFileDirname}"
dap_cfg.args = args
dap.configurations.go = {dap_cfg}
dap.continue()

Loading…
Cancel
Save