launch, task and appSettings updates
This commit is contained in:
23
Server/.vscode/launch.json
vendored
23
Server/.vscode/launch.json
vendored
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user