-
Notifications
You must be signed in to change notification settings - Fork 0
/
nvim-dap.lua
34 lines (32 loc) · 842 Bytes
/
nvim-dap.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
local dap = require("dap")
dap.adapters.lldb = {
type = "executable",
command = "lldb-vscode", -- adjust as needed
name = "lldb",
}
dap.configurations.rust = {
{
name = "converter",
type = "lldb",
request = "launch",
program = "${workspaceFolder}/markdown-to-pdf/target/debug/markdown-to-pdf",
cwd = "${workspaceFolder}",
stopOnEntry = false,
},
{
name = "api",
type = "lldb",
request = "launch",
program = "${workspaceFolder}/api/target/debug/api",
cwd = "${workspaceFolder}",
stopOnEntry = false,
},
{
name = "web",
type = "lldb",
request = "launch",
program = "${workspaceFolder}/web/target/debug/web",
cwd = "${workspaceFolder}",
stopOnEntry = false,
},
}