Last active
December 16, 2020 07:05
-
-
Save mengwangk/f818e5c924b3240197d70dc7ae68651a to your computer and use it in GitHub Desktop.
launch.json
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": [ | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug executable 'hello-world'", | |
"cargo": { | |
"args": [ | |
"build", | |
"--bin=hello-world", | |
"--package=hello-world" | |
], | |
"filter": { | |
"name": "hello-world", | |
"kind": "bin" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
}, | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug unit tests in executable 'hello-world'", | |
"cargo": { | |
"args": [ | |
"test", | |
"--no-run", | |
"--bin=hello-world", | |
"--package=hello-world" | |
], | |
"filter": { | |
"name": "hello-world", | |
"kind": "bin" | |
} | |
}, | |
"args": [], | |
"cwd": "${workspaceFolder}" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment