Skip to content

Instantly share code, notes, and snippets.

@zwhitchcox
Created December 27, 2019 20:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zwhitchcox/09fda83eae8ff0b7a2e46b03f7757d7b to your computer and use it in GitHub Desktop.
Save zwhitchcox/09fda83eae8ff0b7a2e46b03f7757d7b to your computer and use it in GitHub Desktop.
vs code debug rust codelldb
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Cargo test",
"cargo": {
"args": ["test", "--no-run", "--lib"]
},
"program": "${cargo:program}",
"args": []
},
{
"type": "lldb",
"request": "launch",
"name": "Cargo launch",
"cargo": {
"args": ["build"]
},
"program": "${cargo:program}",
"args": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment