{ "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}", } ] }