launch, task and appSettings updates

This commit is contained in:
2023-01-15 16:28:38 -07:00
parent 8be8daaa3c
commit f69a937b1f
6 changed files with 87 additions and 58 deletions

View File

@ -10,14 +10,15 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/net6.0/win-x64/Archive.dll",
"program": "${workspaceFolder}/bin/Debug/net7.0/win-x64/OI.Metrology.Server.dll",
"args": [],
"cwd": "${workspaceFolder}",
"stopAtEntry": false,
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
"serverReadyAction": {
"action": "openExternally",
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
"uriFormat": "%s/swagger/index.html"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
@ -30,22 +31,8 @@
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processName": "Archive"
},
{
"name": "Watch",
"type": "coreclr",
"request": "launch",
"cwd": "${workspaceFolder}",
"program": "dotnet",
"args": [
"watch",
"--launch-profile",
"Phares-Development",
"--project",
".",
"--verbose" // Let's us confirm browser connects with hot reload capabilities
]
"preLaunchTask": "watch",
"processName": "OI.Metrology.Server.exe"
}
]
}