Skip to content

Commit

Permalink
Add launch.json for VSCode & Emacs dap-mode
Browse files Browse the repository at this point in the history
Untested with VSCode. Launches OK for dap-mode.
  • Loading branch information
rdaum committed Jan 27, 2024
1 parent 31bc3da commit 3527aca
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"configurations": [
{
"type": "cppdbg",
"request": "launch",
"name": "Daemon Debug",
"MIMode": "gdb",
"miDebuggerPath": "rust-gdb",
"environment": [],
"args": ["development.db", "--textdump", "JHCore-DEV-2.db", "--textdump-out", "out.db"],
"program": "${workspaceFolder}/target/debug/moor-daemon",
"cwd": "${workspaceFolder}",
"console": "external",
"dap-compilation": "cargo build",
"dap-compilation-dir": "${workspaceFolder}",
}
]
}

0 comments on commit 3527aca

Please sign in to comment.