Skip to content

Instantly share code, notes, and snippets.

@AlexanderAllen
Created February 26, 2022 02:57
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 AlexanderAllen/bd7770730b48f1fe89f34db14d0057af to your computer and use it in GitHub Desktop.
Save AlexanderAllen/bd7770730b48f1fe89f34db14d0057af to your computer and use it in GitHub Desktop.
Rust for Windows Launch Config
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
// C++ extension configuration.
{
"name": "(Windows) Launch",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceRoot}/target/debug/googoo.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceRoot}",
"environment": [],
"console": "integratedTerminal"
},
// LLDB extension configuration for NIX.
{
"type": "lldb",
"request": "launch",
"name": "Debug w/ LLDB",
"cargo": {
"args": [
"build",
"--bin=googoo",
"--package=googoo",
"--profile=dev"
],
"filter": {
"name": "googoo",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceRoot}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug tests with LLDB",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=googoo"
],
"filter": {
"name": "googoo",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceRoot}"
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment