diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6d1c07c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,29 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "C#: Debug Public API", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build Public API", + "program": "${workspaceFolder}/api/Public/bin/Debug/net10.0/Public.dll", + "args": [], + "cwd": "${workspaceFolder}/api/Public", + "stopAtEntry": false, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "console": "internalConsole" + }, + { + "name": "Run start.sh", + "type": "node-terminal", + "request": "launch", + "command": "bash ${workspaceFolder}/start.sh", + "cwd": "${workspaceFolder}" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..b29e267 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build Public API", + "type": "process", + "command": "dotnet", + "args": ["build", "${workspaceFolder}/api/Public/Public.csproj"], + "problemMatcher": "$msCompile", + "group": { + "kind": "build", + "isDefault": true + } + } + ] +}