Update vscode launch settings (#1483)
This commit is contained in:
Родитель
9a870ea1e1
Коммит
c158bd4cc1
|
@ -38,6 +38,7 @@
|
|||
"SqlServer:AllowDatabaseCreation": "true",
|
||||
"SqlServer:ConnectionString": "server=(local);Initial Catalog=FHIR_R4;Integrated Security=true",
|
||||
"SqlServer:Initialize": "true",
|
||||
"SqlServer:SchemaOptions:AutomaticUpdatesEnabled": "true",
|
||||
"TestAuthEnvironment:FilePath": "..//..//testauthenvironment.json",
|
||||
},
|
||||
"sourceFileMap": {
|
||||
|
@ -52,7 +53,7 @@
|
|||
// If you have changed target frameworks, make sure to update the program path.
|
||||
"program": "${workspaceFolder}/src/Microsoft.Health.Fhir.Stu3.Web/bin/Debug/netcoreapp3.1/Microsoft.Health.Fhir.Stu3.Web.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src/Microsoft.Health.Fhir.R4.Web",
|
||||
"cwd": "${workspaceFolder}/src/Microsoft.Health.Fhir.Stu3.Web",
|
||||
"stopAtEntry": false,
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
|
@ -70,13 +71,14 @@
|
|||
// If you have changed target frameworks, make sure to update the program path.
|
||||
"program": "${workspaceFolder}/src/Microsoft.Health.Fhir.Stu3.Web/bin/Debug/netcoreapp3.1/Microsoft.Health.Fhir.Stu3.Web.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src/Microsoft.Health.Fhir.R4.Web",
|
||||
"cwd": "${workspaceFolder}/src/Microsoft.Health.Fhir.Stu3.Web",
|
||||
"stopAtEntry": false,
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"DataStore": "SqlServer",
|
||||
"SqlServer:AllowDatabaseCreation": "true",
|
||||
"SqlServer:ConnectionString": "server=(local);Initial Catalog=FHIR_STU3;Integrated Security=true",
|
||||
"SqlServer:SchemaOptions:AutomaticUpdatesEnabled": "true",
|
||||
"SqlServer:Initialize": "true",
|
||||
"TestAuthEnvironment:FilePath": "..//..//testauthenvironment.json",
|
||||
},
|
||||
|
@ -84,6 +86,47 @@
|
|||
"/Views": "${workspaceFolder}/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "R5 Cosmos DB",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "buildR5",
|
||||
// If you have changed target frameworks, make sure to update the program path.
|
||||
"program": "${workspaceFolder}/src/Microsoft.Health.Fhir.R5.Web/bin/Debug/netcoreapp3.1/Microsoft.Health.Fhir.R5.Web.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src/Microsoft.Health.Fhir.R5.Web",
|
||||
"stopAtEntry": false,
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"DataStore": "CosmosDb"
|
||||
},
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "R5 SQL Server",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "buildR5",
|
||||
// If you have changed target frameworks, make sure to update the program path.
|
||||
"program": "${workspaceFolder}/src/Microsoft.Health.Fhir.R5.Web/bin/Debug/netcoreapp3.1/Microsoft.Health.Fhir.R5.Web.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/src/Microsoft.Health.Fhir.R5.Web",
|
||||
"stopAtEntry": false,
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development",
|
||||
"DataStore": "SqlServer",
|
||||
"SqlServer:AllowDatabaseCreation": "true",
|
||||
"SqlServer:ConnectionString": "server=(local);Initial Catalog=FHIR_R5;Integrated Security=true",
|
||||
"SqlServer:Initialize": "true",
|
||||
"SqlServer:SchemaOptions:AutomaticUpdatesEnabled": "true",
|
||||
"TestAuthEnvironment:FilePath": "..//..//testauthenvironment.json",
|
||||
},
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": ".NET Core Attach",
|
||||
"type": "coreclr",
|
||||
|
|
|
@ -55,6 +55,24 @@
|
|||
"reveal": "silent"
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
{
|
||||
"label": "buildR5",
|
||||
"command": "dotnet",
|
||||
"type": "shell",
|
||||
"args": [
|
||||
"build",
|
||||
"${workspaceFolder}/src/Microsoft.Health.Fhir.R5.Web/Microsoft.Health.Fhir.R5.Web.csproj",
|
||||
// Ask dotnet build to generate full paths for file names.
|
||||
"/property:GenerateFullPaths=true",
|
||||
// Do not generate summary otherwise it leads to duplicate errors in Problems panel
|
||||
"/consoleloggerparameters:NoSummary",
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "silent"
|
||||
},
|
||||
"problemMatcher": "$msCompile"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче