-
Notifications
You must be signed in to change notification settings - Fork 176
Description
Describe the bug
Thanks for solving #186, it works well! except for one thing: the stdout
(and stderr
) of the program I try to debug are visible nowhere. (I tried VimspectorToggleLog
but there was nothing related to the output of the program).
It seems other projects are having the same issue: https://giters.com/mfussenegger/nvim-dap/issues/232
Aparrently dlv dap
is printing stdout/stderr to its own process instead of redirecting it with DAP.
are you aware of that situtation, and if yes, do you have an idea for a workaround ?
Minimal reproduciton
- Does your issue reproduce using
vim --clean -Nu /path/to/vimspector/support/minimal_vimrc
? [Yes] - If you are using Neovim, does your issue reproduce using Vim? [Yes]
List of steps to reproduce:
- Run
vim ---clean Nu /path/to/vimspector/support/minimal_vimrc
- Open any project that outputs something to stdout
- Start debugging and observe an empty
console
Use the following Vimspector config file:
{
"configurations": {
"run": {
"adapter": "delve",
"filetypes": ["go"],
"variables": {
"dlvFlags": "--check-go-version=false --log"
},
"configuration": {
"request": "launch",
"program": "${fileDirname}",
"mode": "test"
}
}
}
}
Expected behaviour
The stdout should be printed out to the console view in debugging mode, but it isn't.
Declaration
Please complete the following declaration. If this declaration is not completed, your issue may be closed without comment.
- I have read and understood CONTRIBUTING.md [Yes]