Files
oi-metrology/.vscode/launch.json
2023-01-13 22:43:50 -07:00

64 lines
2.3 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/Server/bin/Debug/net7.0/win-x64/OI.Metrology.Server.dll",
"args": [],
"cwd": "${workspaceFolder}/Server",
"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+)",
"uriFormat": "%s/swagger/index.html"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Server/Views"
}
},
{
"name": "Watch Server",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"cwd": "${workspaceFolder}",
"program": "dotnet",
"args": [
"watch",
"--launch-profile",
"Phares-Development",
"--project",
"Server",
"--verbose"
]
},
{
"name": "Incognito Edge",
"type": "msedge",
"request": "launch",
"runtimeArgs": [
"--profile-directory=Default",
"-inprivate"
],
"url": "https://localhost:7130/swagger/index.html",
"preLaunchTask": "build"
}
],
"compounds": [
{
"name": "* Watch Server - Incognito Edge",
"configurations": [ "Watch Server", "Incognito Edge" ]
}
]
}