dendrite/.vscode/launch.json
Alex Flatow a5ddb710d8 - Add GO CosmosDB library github.com/vippsas/go-cosmosdb
- Update YAML file to use file: everywhere except for Accounts
- Use the CosmosDB conn string in the YAML
- Add cosmosdbapi package to wrap the external package
- Add Tenant.go to store the tenancy settings - to be removed when tenancy is implemented
- Update the 5 tables to use the internal CosmosDBAPI package instead of SQL
- Remove sql from storage.go and other files
2021-05-11 09:11:33 +10:00

46 lines
1.6 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch Package Monolith",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}\\cmd\\dendrite-monolith-server",
"args": [
"-config",
"${workspaceFolder}\\build\\docker\\config\\dendrite-config-monolith-sqlite.yaml",
//Uncomment below to expose internal api's
// "--api",
// "true"
]},
{
"name": "Launch Package Polylith",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd/dendrite-polylith-multi",
"args": [
"--config",
"${workspaceFolder}\\bin\\dendrite.yaml",
"clientapi",
]
},
{
"name": "Launch Package Monolith - CosmosDB",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}\\cmd\\dendrite-monolith-server",
"args": [
"-config",
"${workspaceFolder}\\dendrite-config-cosmosdb.yaml",
//Uncomment below to expose internal api's
// "--api",
// "true"
]}
]
}