Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local dap = require 'dap'
- dap.adapters.cpp = {
- attach = {
- pidProperty = "pid",
- pidSelect = "ask"
- },
- command = 'lldb-vscode',
- env = {
- LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY = "YES"
- },
- name = "lldb"
- }
- vim.cmd [[
- command! -complete=file -nargs=* DebugC lua require "my_debug".start_c_debugger({<f-args>}, "gdb")
- ]]
- vim.cmd [[
- command! -complete=file -nargs=* DebugRust lua require "my_debug".start_c_debugger({<f-args>}, "gdb", "rust-gdb")
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement