Skip to content

Commit b688ab7

Browse files
committed
add zed debugger file
1 parent 015ff26 commit b688ab7

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.zed/debug.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Project-local debug tasks
2+
//
3+
// For more documentation on how to configure debug tasks,
4+
// see: https://zed.dev/docs/debugger
5+
[
6+
{
7+
"label": "Debug with DuckDB",
8+
"build": {
9+
"command": "cargo",
10+
"args": ["build"],
11+
},
12+
"program": "$ZED_WORKTREE_ROOT/target/debug/sqlpage",
13+
"env": {
14+
"DATABASE_URL": "DSN=DuckDB",
15+
},
16+
// sourceLanguages is required for CodeLLDB (not GDB) when using Rust
17+
"sourceLanguages": ["rust"],
18+
"request": "launch",
19+
"adapter": "CodeLLDB",
20+
},
21+
]

0 commit comments

Comments
 (0)