feat: update launch and task configurations for improved debugging and release builds
This commit is contained in:
Vendored
+24
-1
@@ -2,7 +2,7 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Fuchs: Debug ASP.NET Core",
|
||||
"name": "Fuchs: Debug (Debug config, Development env)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build Fuchs",
|
||||
@@ -23,6 +23,29 @@
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/Fuchs/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Fuchs: Launch (Release config, Production env)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build Fuchs Release",
|
||||
"program": "${workspaceFolder}/Fuchs/bin/Release/net10.0/Fuchs.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/Fuchs",
|
||||
"stopAtEntry": false,
|
||||
"justMyCode": true,
|
||||
"serverReadyAction": {
|
||||
"action": "openExternally",
|
||||
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
|
||||
"uriFormat": "%s"
|
||||
},
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Production",
|
||||
"ASPNETCORE_URLS": "https://localhost:63661;http://localhost:63662"
|
||||
},
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/Fuchs/Views"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Vendored
+15
@@ -19,6 +19,21 @@
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "build Fuchs Release",
|
||||
"type": "process",
|
||||
"command": "dotnet",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/Fuchs/Fuchs.csproj",
|
||||
"--configuration",
|
||||
"Release",
|
||||
"/p:RestoreIgnoreFailedSources=true",
|
||||
"/p:RestoreConfigFile=${workspaceFolder}/NuGet.config"
|
||||
],
|
||||
"problemMatcher": "$msCompile",
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "gulp: all",
|
||||
"type": "shell",
|
||||
|
||||
Reference in New Issue
Block a user