From 0153d4cf693de1fd38f25ccfc1500ee066a26979 Mon Sep 17 00:00:00 2001 From: Syntriax Date: Sun, 11 May 2025 11:51:57 +0300 Subject: [PATCH] chore: added vscode launch configurations for server and client --- .vscode/launch.json | 33 +++++++++++++++++++++++++++++++++ .vscode/tasks.json | 12 ++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..dbf514e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,33 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Launch (Client)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop.exe", + "args": [], + "cwd": "${workspaceFolder}", + "stopAtEntry": false, + "console": "internalConsole" + }, + { + "name": ".NET Launch (Server)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/Platforms/Desktop/bin/Debug/net9.0/Desktop.exe", + "args": ["-server"], + "cwd": "${workspaceFolder}", + "stopAtEntry": false, + "console": "internalConsole" + } + ], + "compounds": [ + { + "name": ".NET Launch Both", + "configurations": [".NET Launch (Server)", ".NET Launch (Client)"] + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..d08d5ff --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,12 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "dotnet", + "task": "build", + "group": "build", + "problemMatcher": [], + "label": "build" + } + ] +}