NeovimGdb
NeovimGdb copied to clipboard
Gdb integration for neovim
trafficstars
Demo
What is NeovimGdb
Integrate vim and gdb, it could help you:
- View code in vim and run gdb command in a separated vim window
- Login to remote manchine and run gdb
Now, also suppport dlv to debug go files
Usage
Debug in remote server
- Use
GdbConnect hostto connect to remote server, this willssh hostordocker exec -it host(if the first item in g:nvimgdb_host_cmd isDocker) first, then run the following command ing:nvimgdb_host_cmd.
let g:nvimgdb_host_cmd = {
\ 'dr01' : ['cads', 'gdb -f ./ads'],
\ 'ts' : ['Docker', 'gdb -q -f --pid `pgrep transcoding`'],
\ }
