Skip to content

How can I use nvim-dap to debug C++? #801

Closed Answered by ayamir
vollowx asked this question in Q&A
Discussion options

You must be logged in to vote
  1. g++ test.cpp -g
  2. nvim test.cpp
  3. <F8> to toggle breakpoint
  4. <F6> to run DapContinue, fill the prompt content with the executable path and the input args if has.
  5. <C-p> then input "debug", you can see all of shortcut with debug.
  6. Or you can just use the button to control debug.
2023-06-17-10-29-27.mp4

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vollowx
Comment options

@ayamir
Comment options

@vollowx
Comment options

Answer selected by vollowx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants