DEV Community

Rajika Imal
Rajika Imal

Posted on

3 1

Debug Go with VIM

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. ✌️

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay