ask for port for easy multiplayer debugging

This commit is contained in:
Tim Felgentreff 2022-02-19 13:02:26 +01:00
parent 5e84ec5c42
commit 9fb2eb492c

10
.vscode/launch.json vendored
View file

@ -14,7 +14,7 @@
"windows": {
"type": "cppvsdbg",
"program": "${workspaceFolder}/build/Debug/stratagus-dbg.exe",
"args": ["-W", "-p", "-a", "-d", "${workspaceFolder}\\..\\data.${input:game}"],
"args": ["-W", "-p", "-P", "${input:port}", "-a", "-d", "${workspaceFolder}\\..\\data.${input:game}"],
"environment": [
{"name": "PATH", "value": "${workspaceFolder}\\..\\dependencies\\bin;${env:PATH}"},
{"name": "OMP_WAIT_POLICY", "value": "passive"}
@ -23,7 +23,7 @@
},
"stopAtEntry": false,
"cwd": "${workspaceFolder}/../${input:game}",
}
},
],
"inputs": [
{
@ -37,5 +37,11 @@
],
"default": "wargus"
},
{
"type": "promptString",
"id": "port",
"description": "Network port?",
"default": "6600"
}
]
}