Skip to content

Instantly share code, notes, and snippets.

@keyle
Created June 1, 2023 09:05
Show Gist options
  • Save keyle/04781ce1a27138556f0746663c284402 to your computer and use it in GitHub Desktop.
Save keyle/04781ce1a27138556f0746663c284402 to your computer and use it in GitHub Desktop.
Cargo debug launch.json macOS (needs CodeLLDB & rust-analyzer extensions)
{
"version": "0.2.0",
"configurations": [
{
"type": "lldb",
"request": "launch",
"name": "Debug",
"program": "${workspaceFolder}/target/debug/<!!!your-binary-name!!!>",
"preLaunchTask": "rust: cargo build",
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment