2023-04-14 04:22:17 +00:00
|
|
|
{
|
|
|
|
// 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",
|
2023-10-05 15:42:24 +00:00
|
|
|
"name": "Debug lyra testbed",
|
2023-04-14 04:22:17 +00:00
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"build",
|
2023-10-05 15:42:24 +00:00
|
|
|
"--manifest-path", "${workspaceFolder}/examples/testbed/Cargo.toml"
|
|
|
|
//"--bin=testbed",
|
2023-04-14 04:22:17 +00:00
|
|
|
],
|
|
|
|
"filter": {
|
2023-10-05 15:42:24 +00:00
|
|
|
"name": "testbed",
|
2023-04-14 04:22:17 +00:00
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": [],
|
2023-10-05 15:42:24 +00:00
|
|
|
"cwd": "${workspaceFolder}/examples/testbed"
|
2023-04-14 04:22:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug unit tests in executable 'lyra-engine'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"--no-run",
|
|
|
|
"--bin=lyra-engine",
|
|
|
|
"--package=lyra-engine"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "lyra-engine",
|
|
|
|
"kind": "bin"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder}"
|
2023-12-26 19:12:53 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "lldb",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Debug unit tests in executable 'lyra-ecs'",
|
|
|
|
"cargo": {
|
|
|
|
"args": [
|
|
|
|
"test",
|
|
|
|
"--no-run",
|
|
|
|
"--lib",
|
|
|
|
"--package=lyra-ecs",
|
|
|
|
"world::tests::view_change_tracking",
|
|
|
|
"--",
|
|
|
|
"--exact --nocapture"
|
|
|
|
],
|
|
|
|
"filter": {
|
|
|
|
"name": "lyra-ecs",
|
|
|
|
"kind": "lib"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"args": [],
|
|
|
|
"cwd": "${workspaceFolder}/lyra-ecs"
|
2023-04-14 04:22:17 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|