distributed_physics_test/.vscode/launch.json
Michael Bradley 3f83ee275a
All checks were successful
CI / Formatting (push) Successful in 1m2s
Expose UDP port to network
2025-05-25 13:18:35 -04:00

46 lines
1.4 KiB
JSON

{
// 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 game",
"cargo": {
"args": ["build"]
},
"args": ["--seed=gargamel"],
"cwd": "${workspaceFolder}",
"env": {
"CARGO_MANIFEST_DIR": "${workspaceFolder}",
"LD_LIBRARY_PATH": "${workspaceFolder}/target/debug/deps:${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
},
"presentation": {
"hidden": false,
"group": "run",
"order": 1
}
},
{
"type": "lldb",
"request": "launch",
"name": "Debug peer",
"cargo": {
"args": ["build"]
},
"args": ["--port=25566", "--connect=[::1]:25565"],
"cwd": "${workspaceFolder}",
"env": {
"CARGO_MANIFEST_DIR": "${workspaceFolder}",
"LD_LIBRARY_PATH": "${workspaceFolder}/target/debug/deps:${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib"
},
"presentation": {
"hidden": false,
"group": "run",
"order": 2
}
}
]
}