Skip to content

Instantly share code, notes, and snippets.

@zaaath
Created October 31, 2021 19:18
Show Gist options
  • Save zaaath/b940df1b947b7d4e6fd42bd057943fe3 to your computer and use it in GitHub Desktop.
Save zaaath/b940df1b947b7d4e6fd42bd057943fe3 to your computer and use it in GitHub Desktop.
toydb debugging in VS Code (configuration for the engine)
...
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'toydb'",
"cargo": {
"args": [
"build",
"--bin=toydb",
"--package=toydb"
],
"filter": {
"name": "toydb",
"kind": "bin"
}
},
"args": [
"-c=${workspaceFolder}/config/toydb.yaml"
],
"cwd": "${workspaceFolder}"
},
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment