chore: update launch configurations and add debug build tasks

This commit is contained in:
2026-01-31 00:03:00 +01:00
parent e35f45dc4d
commit 70e115f2a0
4 changed files with 41 additions and 15 deletions

25
.vscode/launch.json vendored
View File

@@ -5,16 +5,11 @@
"name": "ASTRAIN.Api",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"preLaunchTask": "Debug Build API",
"program": "${workspaceFolder}/src/ASTRAIN.Api/bin/Debug/net10.0/ASTRAIN.Api.dll",
"args": [],
"cwd": "${workspaceFolder}/src/ASTRAIN.Api",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "Now listening on: (https?://\\S+)",
"uriFormat": "%s"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
@@ -23,15 +18,19 @@
"name": "ASTRAIN.Client",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/ASTRAIN.Client/bin/Debug/net10.0/ASTRAIN.Client.dll",
"args": [],
"cwd": "${workspaceFolder}/src/ASTRAIN.Client",
"preLaunchTask": "Debug Build Client",
"program": "dotnet",
"args": [
"run",
"--project",
"${workspaceFolder}/src/ASTRAIN.Client"
],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "Now listening on: (https?://\\S+)",
"uriFormat": "%s"
"pattern": "\\bNow listening on:\\s+https?://\\[::\\]:(\\d+)",
"uriFormat": "http://localhost:%s"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
@@ -47,4 +46,4 @@
]
}
]
}
}