Created
May 8, 2021 03:47
-
-
Save jakehemmerle/a04ccb64c69dcd9bd2d1e02304ef6e00 to your computer and use it in GitHub Desktop.
Rust/LLVM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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