Termdebug
lastmod 2026-11-10created 2020-08-192 edits
Termdebug is a plugin built into Vim that runs the gdb debugger inside the editor using the terminal window feature. After loading it with :packadd termdebug and starting it with :Termdebug, a gdb window, a program output window, and a source window open, and the current execution line and breakpoints are shown in the source window. The debugger is controlled with commands such as :Break, :Step, :Over, and :Continue, and it requires Vim 8.1 or later with the terminal feature.