add testing tools for vscode

This commit is contained in:
2025-07-10 16:55:02 -07:00
parent b54eb7d13e
commit eb3e8c0163
2 changed files with 43 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch ASP.NET Core backend",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "server-build",
"program": "boredcareers.dll",
"args": [],
"cwd": "${workspaceFolder}/debug/",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"PaymentService": "StripeIntent"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
}
}
]
}
+17
View File
@@ -0,0 +1,17 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "server-build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/boredcareers/boredcareers.csproj",
"-o",
"${workspaceFolder}/debug/",
],
"problemMatcher": "$msCompile"
},
]
}