Add debug config for emacs
This commit is contained in:
parent
2981b6b975
commit
51a812b308
1 changed files with 12 additions and 0 deletions
12
red/debug.el
Normal file
12
red/debug.el
Normal file
|
@ -0,0 +1,12 @@
|
|||
;; Eval Buffer with `M-x eval-buffer' to register the newly created template.
|
||||
|
||||
(dap-register-debug-template
|
||||
"GDB::Run muele"
|
||||
(list :type "gdb"
|
||||
:request "launch"
|
||||
:name "GDB::Run muele"
|
||||
:gdbpath "rust-gdb"
|
||||
:target "${workspaceFolder}/red/target/debug/red"
|
||||
:dap-compilation "cargo build"
|
||||
:dap-compilation-dir "${workspaceFolder}"
|
||||
:cwd "${workspaceFolder}"))
|
Loading…
Add table
Reference in a new issue