vscode debug

This commit is contained in:
Carter Anderson 2019-12-03 22:13:14 -08:00
parent 4437f37690
commit 7ed5b2252d

64
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,64 @@
{
// 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": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'bevy'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=bevy"
],
"filter": {
"name": "bevy",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug example 'simple'",
"cargo": {
"args": [
"build",
"--example=simple",
"--package=bevy"
],
"filter": {
"name": "simple",
"kind": "example"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in example 'simple'",
"cargo": {
"args": [
"test",
"--no-run",
"--example=simple",
"--package=bevy"
],
"filter": {
"name": "simple",
"kind": "example"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}