chore: updated launch & tasks json files for better cross-platform development

This commit is contained in:
2025-07-12 16:07:12 +03:00
committed by Syntriax
parent 9bf6cabe23
commit b641ebde08
2 changed files with 40 additions and 12 deletions

25
.vscode/launch.json vendored
View File

@@ -5,8 +5,8 @@
"name": ".NET Launch (Client) 1",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop",
"preLaunchTask": "build-client",
"program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
@@ -16,8 +16,8 @@
"name": ".NET Launch (Client) 2",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop",
"preLaunchTask": "build-client",
"program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
@@ -27,9 +27,12 @@
"name": ".NET Launch (Server)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/Platforms/Server/bin/Debug/net9.0/Server",
"preLaunchTask": "build-server",
"program": "${workspaceFolder}/Platforms/Server/bin/Debug/net9.0/Server.dll",
"args": [],
"env": {
"PORT": "8888",
},
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
"console": "internalConsole"
@@ -38,7 +41,10 @@
"compounds": [
{
"name": ".NET Launch Client & Server",
"configurations": [".NET Launch (Server)", ".NET Launch (Client) 1"]
"configurations": [
".NET Launch (Server)",
".NET Launch (Client) 1"
]
},
{
"name": ".NET Launch 2 Client & 1 Server",
@@ -50,7 +56,10 @@
},
{
"name": ".NET Launch 2 Clients",
"configurations": [".NET Launch (Client) 1", ".NET Launch (Client) 2"]
"configurations": [
".NET Launch (Client) 1",
".NET Launch (Client) 2"
]
}
]
}