VS Code debug configurations

This commit is contained in:
2026-02-17 20:25:48 +02:00
parent 778e8e6b18
commit a7622c2a5d
2 changed files with 45 additions and 0 deletions

29
.vscode/launch.json vendored Normal file
View File

@@ -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}"
}
]
}

16
.vscode/tasks.json vendored Normal file
View File

@@ -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
}
}
]
}