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.
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug client",
|
|
|
|
"cargo": {
|
|
|
|
"args": [ "build", "--bin=gaemstone-client", "--package=gaemstone-client" ],
|
|
|
|
"filter": { "name": "gaemstone-client", "kind": "bin" },
|
|
|
|
},
|
|
|
|
// 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.
|
|
|
|
"env": { "BEVY_ASSET_ROOT": "${workspaceFolder}" },
|
|
|
|
"args": [],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug server",
|
|
|
|
"cargo": {
|
|
|
|
"args": [ "build", "--bin=gaemstone-server", "--package=gaemstone-server" ],
|
|
|
|
"filter": { "name": "gaemstone-server", "kind": "bin" },
|
|
|
|
},
|
|
|
|
"args": [],
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|