Need help with vim-godebug?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

jodosha
436 Stars 22 Forks MIT License 8 Commits 9 Opened issues

Description

Go debugging for Vim

Services available

!
?

Need anything else?

Contributors list

# 22,789
Ruby
Vim
hanami
Redis
3 commits
# 16,048
React N...
React
python-...
viml
1 commit
# 216,929
debug
Vim
Go
editor-...
1 commit
# 233,312
editor-...
golang
CSS
Firefox
1 commit
# 295,272
Vim
editor-...
golang
Shell
1 commit

vim-godebug

Go debugging for Vim.

See it in action

vim-godebug

Prerequisites

  • Go
  • Neovim
  • vim-go
  • Delve
    • On macOS, it is advised to install through brew, due to problems with certificates.

Installation

Copy all files to your ~/.vim directory or use Tim Pope's excellent pathogen plugin (http://github.com/tpope/vim-pathogen).

Usage

:call GoToggleBreakpoint()
to add or remove a breakpoint at the current line
:call GoDebug()
to start a debug session for the main package

Development and Improvements

This is a tool that is useful for my workflow. If you think it's useful, be my guest and use it too.

I won't actively support this plugin. If you find a bug, or want an improvement, please open a PR if you want to see it fixed.

Troubleshooting

Error detected while processing function godebug#debug

vim is not yet supported. Try it with neovim.

Copyright

2017 - Luca Guidi - https://lucaguidi.com

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.