Last active
April 23, 2020 18:31
-
-
Save jessechounard/7c2e5771b2bff6825dd47c671c9b1a65 to your computer and use it in GitHub Desktop.
Build and debug Rust in VSCode (on Windows)
This file contains hidden or 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": "(Windows) Launch", | |
| "type": "cppvsdbg", | |
| "request": "launch", | |
| "program": "${workspaceRoot}/target/debug/${workspaceRootFolderName}", | |
| "args": [], | |
| "stopAtEntry": false, | |
| "cwd": "${workspaceFolder}", | |
| "environment": [], | |
| "externalConsole": false, | |
| "preLaunchTask": "cargo build", | |
| } | |
| ] | |
| } |
This file contains hidden or 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": [ | |
| { | |
| "label": "cargo build", | |
| "type": "shell", | |
| "command": "cargo", | |
| "args": [ | |
| "build", | |
| ], | |
| "group": { | |
| "kind": "build", | |
| "isDefault": true | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment