You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.5 KiB
48 lines
1.5 KiB
{ |
|
"version": "0.2.0", |
|
"configurations": [ |
|
{ |
|
"type": "lldb", |
|
"request": "launch", |
|
"name": "Debug", |
|
"cargo": { |
|
"args": [ |
|
"build", |
|
"--bin=bevy-bloxel-test", |
|
"--package=bevy-bloxel-test" |
|
], |
|
"filter": { |
|
"name": "bevy-bloxel-test", |
|
"kind": "bin" |
|
} |
|
}, |
|
"args": [], |
|
"cwd": "${workspaceFolder}", |
|
"env": { |
|
// When Bevy looks for assets, it checks BEVY_ASSET_ROOT, CARGO_MANIFEST_DIR, and |
|
// then falls back to the executable directory. When debugging, the cargo manifest |
|
// directory is not set, so we need to specify this environment variable. |
|
"BEVY_ASSET_ROOT": "${workspaceFolder}", |
|
}, |
|
}, |
|
{ |
|
"type": "lldb", |
|
"request": "launch", |
|
"name": "Debug unit tests", |
|
"cargo": { |
|
"args": [ |
|
"test", |
|
"--no-run", |
|
"--bin=bevy-bloxel-test", |
|
"--package=bevy-bloxel-test" |
|
], |
|
"filter": { |
|
"name": "bevy-bloxel-test", |
|
"kind": "bin" |
|
} |
|
}, |
|
"args": [], |
|
"cwd": "${workspaceFolder}", |
|
} |
|
] |
|
}
|
|
|