Since Vim 8.1 combined with +terminal feature (from my 1st video • Vim Techniques 01 - :term | Keep productiv... in the series) now GDB debugger is supported to be used right inside Vim.
This allows some flexiblity especially setting the breakpoint by navigating to target files in Vim-way, and allow convenient in navigating, opening files like we normally did in Vim to inspect something.
Watch along.
Follow on socials
Github: https://github.com/haxpor
Website: https://wasin.io