Last active
September 20, 2024 15:50
-
-
Save buehler/bbda76d8e8869f21c30b065c1c9ca5d8 to your computer and use it in GitHub Desktop.
Debugging Rust repository in Windows with CPP Tools
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Launch", | |
"type": "cppvsdbg", | |
"request": "launch", | |
"program": "${workspaceRoot}/target/debug/<APP NAME>.exe", | |
"args": [], | |
"stopAtEntry": false, | |
"cwd": "${workspaceRoot}", | |
"environment": [], | |
"preLaunchTask": "build", | |
"internalConsoleOptions": "openOnSessionStart" | |
} | |
] | |
} |
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "cargo", | |
"command": "build", | |
"problemMatcher": ["$rustc"], | |
"group": { | |
"kind": "build", | |
"isDefault": false | |
}, | |
"label": "build" | |
}, | |
{ | |
"type": "cargo", | |
"command": "check", | |
"problemMatcher": ["$rustc"], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"label": "check" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment