chore: add Visual Studio Code LLDB config for the Rust demo

This commit is contained in:
Taryn Hill
2020-08-29 11:05:48 -05:00
parent c420ff7f6f
commit 118d02e797
2 changed files with 20 additions and 2 deletions

View File

@@ -7,8 +7,18 @@
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/target/debug/rust_demo",
"name": "run rust demo",
"cargo": {
"args": [
"build",
"--bin=rust_demo",
"--package=rust_demo",
],
"filter": {
"name": "rust_demo",
"kind": "bin",
},
},
"args": [],
"cwd": "${workspaceFolder}"
}

8
demos/rust/.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,8 @@
{
"debugVisualizer.debugAdapterConfigurations": {
"lldb": {
"expressionTemplate": "${expr}",
"context": "watch"
}
}
}