Add launch configuration for connecting from framework
All checks were successful
CI / Formatting (push) Successful in 1m7s
All checks were successful
CI / Formatting (push) Successful in 1m7s
This commit is contained in:
parent
3f83ee275a
commit
dd57bc30e1
1 changed files with 21 additions and 2 deletions
23
.vscode/launch.json
vendored
23
.vscode/launch.json
vendored
|
@ -26,11 +26,30 @@
|
|||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug peer",
|
||||
"name": "Debug local peer",
|
||||
"cargo": {
|
||||
"args": ["build"]
|
||||
},
|
||||
"args": ["--port=25566", "--connect=[::1]:25565"],
|
||||
"args": ["--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
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug remote peer",
|
||||
"cargo": {
|
||||
"args": ["build"]
|
||||
},
|
||||
"args": ["--connect=[fd7a:115c:a1e0::9]:25565"], // chonk's IPv6 address via tailscale
|
||||
"cwd": "${workspaceFolder}",
|
||||
"env": {
|
||||
"CARGO_MANIFEST_DIR": "${workspaceFolder}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue