diff --git a/.vscode/launch.json b/.vscode/launch.json index 256dbc9..c3b35f6 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,42 +1,32 @@ -{ - // 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": ".NET Core Launch (web)", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "build", - "program": "${workspaceFolder}/GerbilManagerWebAPI/bin/Debug/net7.0/GerbilManagerWebAPI.dll", - "args": [], - "cwd": "${workspaceFolder}/GerbilManagerWebAPI", - "stopAtEntry": false, - "serverReadyAction": { - "action": "openExternally", - "pattern": "\\bNow listening on:\\s+(https?://\\S+)" - }, - "env": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "sourceFileMap": { - "/Views": "${workspaceFolder}/GerbilManagerWebAPI/Views" - } - }, - { - "name": ".NET Core Attach", - "type": "coreclr", - "request": "attach" - }, - { - "name": "Docker .NET Launch", - "type": "docker", - "request": "launch", - "preLaunchTask": "docker-run: debug", - "netCore": { - "appProject": "${workspaceFolder}/GerbilManagerWebAPI/GerbilManagerWebAPI.csproj" - } - } - ] -} \ No newline at end of file +{ + // Play button (F5) starts the WHOLE stack via .NET Aspire: + // dashboard + Postgres container + WebAPI + React frontend (Vite). + // The Aspire dashboard (with login token) opens automatically. + "version": "0.2.0", + "configurations": [ + { + "name": "GerbilManager (Aspire — alles starten)", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/GerbilManager.AppHost/bin/Debug/net10.0/GerbilManager.AppHost.dll", + "args": [], + "cwd": "${workspaceFolder}/GerbilManager.AppHost", + "stopAtEntry": false, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development", + "DOTNET_ENVIRONMENT": "Development" + }, + "serverReadyAction": { + "action": "openExternally", + "pattern": "Login to the dashboard at\\s+(https?://\\S+)", + "uriFormat": "%s" + } + }, + { + "name": ".NET Core Attach", + "type": "coreclr", + "request": "attach" + } + ] +}