fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
15.9k stars 1.45k forks source link

debugger-commands not work #3590

Closed jinleileiking closed 8 months ago

jinleileiking commented 8 months ago

I enable debug with

 let g:go_debug = ['shell-commands', 'debugger-commands']

Then I ran some cmds. I can see the debug logs. But It disappear quickly. I try to echo g:go_debug_commands but

E121: Undefined variable: g:go_debug_commands

jinleileiking commented 8 months ago

:messages can see, should be in doc

bhcleek commented 8 months ago

What you see in the output of :messages is very minimal. You should see much more information in the g:go_debug_commands variable. When I test, g:go_debug_commands is populated with a lot of information. If you're not seeing anything, then based on the rest of your description, I suspect something else is fundamentally wrong and that no commands are actually being sent to the debugger.

Let me know if you need to reopen this so we can get to the bottom of the problem you're experiencing.