Can't set g:vdebug_options from .vimrc
See original GitHub issueNon-vim programmers might put this in their vimrc:
let g:vdebug_options['port']=10000
But they’d get this from vim:
Error detected while processing /home/gbell2/.vimrc:
line 255:
E121: Undefined variable: g:vdebug_options
Solution is to create the dict before it’s used:
let g:vdebug_options={} let g:vdebug_options['port']=10000
It would be good to have a note about that in section 5.2 of the docs.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:10 (3 by maintainers)
Top Results From Across the Web
How do I debug my vimrc file? - Vi and Vim Stack Exchange
The first thing you want to do is to start Vim with the default settings: vim -u NONE -U NONE -N. The -u...
Read more >Debug unexpected option settings - Vim Tips Wiki - Fandom
If you are running a GUI version, debugging only starts after the GUI is up. Put a gui command in your . vimrc...
Read more >Debugging your Vim Config - Vimways
If all plugin-specific config is behind load guards, it's really easy to disable any set of plugins to help narrow down the cause...
Read more >how to debug vim config (.vimrc) - Stack Overflow
set cpoptions? shows the '$' option isn't set. if I type :set cpoptions+=$ manually in vim everything works fine. I suspect during the...
Read more >Debugging Vim - In Lehman's Terms
You can start up Vim in its debug mode with the -D argument. ... This is useful for seeing what is run when...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m currently using this to get by this problem ;
@lucc that was indeed sufficient