22 lines
522 B
JSON
22 lines
522 B
JSON
// Project-local debug tasks
|
|
//
|
|
// For more documentation on how to configure debug tasks,
|
|
// see: https://zed.dev/docs/debugger
|
|
[
|
|
{
|
|
"label": "Debug with DuckDB",
|
|
"build": {
|
|
"command": "cargo",
|
|
"args": ["build"],
|
|
},
|
|
"program": "$ZED_WORKTREE_ROOT/target/debug/sqlpage",
|
|
"env": {
|
|
"DATABASE_URL": "DSN=DuckDB",
|
|
},
|
|
// sourceLanguages is required for CodeLLDB (not GDB) when using Rust
|
|
"sourceLanguages": ["rust"],
|
|
"request": "launch",
|
|
"adapter": "CodeLLDB",
|
|
},
|
|
]
|