Created
March 25, 2018 04:31
-
-
Save xorxornop/28d022786a5126c2e4a28335a78e0325 to your computer and use it in GitHub Desktop.
Launch configuration for debugging Rust code inside VS Code with LLDB
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
{ | |
// Launch configuration for debugging Rust code inside VS Code with LLDB | |
// This configuration is used by the extension 'LLDB Debugger' | |
// | |
// The necessary extension may be downloaded at: https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb | |
// Alternatively, the repository for it may be found at: https://github.com/vadimcn/vscode-lldb.git | |
"version": "0.1.0", | |
"configurations": [ | |
{ | |
"name": "Debug with LLDB", | |
"type": "lldb", | |
"request": "launch", | |
// The following configuration option, 'program', may in some cases need to be modified. | |
// This is so that the correct executable is targeted. | |
// For example, on non-Windows systems, the ".exe" suffix must be removed. | |
// Alternatively, the directory that rustc/cargo outputs debug builds may change in future | |
// As such, this path would have to change accordingly. | |
"program": "${workspaceFolder}/target/debug/${workspaceFolderBasename}.exe", | |
// If you wish to supply arguments/parameters to the program, supply them below: | |
"args": [], | |
// Working folder for execution. Change as necessary if program requires a different value: | |
"cwd": "${workspaceFolder}", | |
"terminal": "external", | |
"stopOnEntry": false, | |
// Instructs LLVM to apply special Rust-language-specific functionality to its analysis: | |
"sourceLanguages": ["rust"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment