chore: add files for debugging

This commit is contained in:
Stevan Freeborn
2025-02-12 16:10:12 -06:00
parent 4672644127
commit ac9bfe1ac4
2 changed files with 90 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
{
"version": "0.2.0",
"inputs": [
{
"id": "arguments",
"description": "The arguments to pass to the program",
"type": "promptString",
"default": ""
}
],
"configurations": [
{
"name": "AltGen.API",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build-api",
"program": "${workspaceFolder}/src/AltGen.API/bin/Debug/net9.0/AltGen.API.dll",
"args": [],
"cwd": "${workspaceFolder}/src/AltGen.API",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
},
{
"name": "AltGen.Console",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/src/AltGen.Console/bin/Debug/net9.0/AltGen.Console.dll",
"args": "${input:arguments}",
"cwd": "${workspaceFolder}/src/AltGen.Console",
"console": "integratedTerminal",
"stopAtEntry": false
}
]
}
+41
View File
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/src/AltGen.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/AltGen.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary;ForceNoAlign"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/src/AltGen.sln"
],
"problemMatcher": "$msCompile"
}
]
}