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.
This commit is contained in:
parent
f59422008a
commit
21017717c1
@ -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…
Reference in New Issue
Block a user