- Change label from "Build & Debug native binary" to "Debug BotServer" - Use cargo run instead of cargo build
14 lines
259 B
JSON
14 lines
259 B
JSON
[
|
|
{
|
|
"label": "Debug BotServer",
|
|
"build": {
|
|
"command": "cargo",
|
|
"args": ["run"]
|
|
},
|
|
"program": "$ZED_WORKTREE_ROOT/target/debug/botserver",
|
|
|
|
"sourceLanguages": ["rust"],
|
|
"request": "launch",
|
|
"adapter": "CodeLLDB"
|
|
}
|
|
]
|