Skip to content

Instantly share code, notes, and snippets.

@jakehemmerle
Created May 8, 2021 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jakehemmerle/a04ccb64c69dcd9bd2d1e02304ef6e00 to your computer and use it in GitHub Desktop.
Save jakehemmerle/a04ccb64c69dcd9bd2d1e02304ef6e00 to your computer and use it in GitHub Desktop.
Rust/LLVM
// https://dev.to/rogertorres/debugging-rust-with-vs-code-11dj
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'yourprogram'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=yourprogram"
],
"filter": {
"name": "yourprogram",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment