Wiki

Home

Neovim

Neovim

Installation

Lua Config

Language Server Protocol (LSP)

Lua

Plugins

Mason

Plugin zum verwalten von LSP Plugins

DAP - Debug Adapter Protocol

DAP Setup:

REPL

Open with :lua require'dap'.repl.open()

:h dap.repl.open()


.exit               Closes the REPL
.c or .continue     Same as |dap.continue|
.n or .next         Same as |dap.step_over|
.into               Same as |dap.step_into|
.into_target        Same as |dap.step_into{askForTargets=true}|
.out                Same as |dap.step_out|
.up                 Same as |dap.up|
.down               Same as |dap.down|
.goto               Same as |dap.goto_|
.scopes             Prints the variables in the current scopes
.threads            Prints all threads
.frames             Print the stack frames
.capabilities       Print the capabilities of the debug adapter
.b or .back         Same as |dap.step_back|
.rc or
.reverse-continue   Same as |dap.reverse_continue|

DAP-UI

require("dapui").open()
require("dapui").close()
require("dapui").toggle()