DEV Community


Debug Go with VIM

rajikaimal profile image Rajika Imal ・1 min read

VIM is a wonderful text editor. With the high configurability, it's possible to use VIM as a debugger. This post specifically focuses on Go lang debugging. To debug Go, vim-go plugin should be installed. vim-go provides many features such as go fmt on save, addition of go imports on save, go to definition, go to references and a debugger.

Install vim-go

Following video walks through vim-go debugger, specifically how to invoke the debugger, set breakpoints, and stepping to next breakpoint. ✌️

Discussion (0)

Editor guide