IDE: launch.json starts the full stack via Aspire AppHost from the VS Code play button
This commit is contained in:
34
.vscode/launch.json
vendored
34
.vscode/launch.json
vendored
@@ -1,42 +1,32 @@
|
|||||||
{
|
{
|
||||||
// Use IntelliSense to learn about possible attributes.
|
// Play button (F5) starts the WHOLE stack via .NET Aspire:
|
||||||
// Hover to view descriptions of existing attributes.
|
// dashboard + Postgres container + WebAPI + React frontend (Vite).
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
// The Aspire dashboard (with login token) opens automatically.
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": ".NET Core Launch (web)",
|
"name": "GerbilManager (Aspire — alles starten)",
|
||||||
"type": "coreclr",
|
"type": "coreclr",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
"program": "${workspaceFolder}/GerbilManagerWebAPI/bin/Debug/net7.0/GerbilManagerWebAPI.dll",
|
"program": "${workspaceFolder}/GerbilManager.AppHost/bin/Debug/net10.0/GerbilManager.AppHost.dll",
|
||||||
"args": [],
|
"args": [],
|
||||||
"cwd": "${workspaceFolder}/GerbilManagerWebAPI",
|
"cwd": "${workspaceFolder}/GerbilManager.AppHost",
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
|
"env": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||||
|
"DOTNET_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
"serverReadyAction": {
|
"serverReadyAction": {
|
||||||
"action": "openExternally",
|
"action": "openExternally",
|
||||||
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
|
"pattern": "Login to the dashboard at\\s+(https?://\\S+)",
|
||||||
},
|
"uriFormat": "%s"
|
||||||
"env": {
|
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
||||||
},
|
|
||||||
"sourceFileMap": {
|
|
||||||
"/Views": "${workspaceFolder}/GerbilManagerWebAPI/Views"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": ".NET Core Attach",
|
"name": ".NET Core Attach",
|
||||||
"type": "coreclr",
|
"type": "coreclr",
|
||||||
"request": "attach"
|
"request": "attach"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Docker .NET Launch",
|
|
||||||
"type": "docker",
|
|
||||||
"request": "launch",
|
|
||||||
"preLaunchTask": "docker-run: debug",
|
|
||||||
"netCore": {
|
|
||||||
"appProject": "${workspaceFolder}/GerbilManagerWebAPI/GerbilManagerWebAPI.csproj"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user