ask for port for easy multiplayer debugging
This commit is contained in:
parent
5e84ec5c42
commit
9fb2eb492c
1 changed files with 8 additions and 2 deletions
10
.vscode/launch.json
vendored
10
.vscode/launch.json
vendored
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue