Skip to content

Instantly share code, notes, and snippets.

@ElanHasson
Last active May 25, 2020 16:33
Show Gist options
  • Save ElanHasson/798ac6d2c1dc1592f52f91fbc702f746 to your computer and use it in GitHub Desktop.
Save ElanHasson/798ac6d2c1dc1592f52f91fbc702f746 to your computer and use it in GitHub Desktop.
{
// 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
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processId": "${command:pickProcess}"
},
{
"name": ".NET Core Launch (core-tenant) with Dapr",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "daprd-debug",
"program": "${workspaceFolder}/Core/Tenant/src/Core.Tenant.Service/bin/Debug/netcoreapp3.1/Core.Tenant.Service.dll",
"args": [],
"cwd": "${workspaceFolder}/Core/Tenant/src/Core.Tenant.Service",
"stopAtEntry": false,
"serverReadyAction": {
"action": "openExternally",
"pattern": "^\\s*Now listening on:\\s+(https?://\\S+)"
},
"env": {
"ASPNETCORE_ENVIRONMENT": "Development",
"ASPNETCORE_URLS": "http://+:5000,https://+:5001"
},
"sourceFileMap": {
"/Views": "${workspaceFolder}/Views"
},
"postDebugTask": "daprd-down"
},
],"compounds": [
{
"name": "All Services",
"configurations": [".NET Core Launch (core-tenant) with Dapr"],
"preLaunchTask": "build"
}
]
}
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "shell",
"args": [
"build",
"${workspaceFolder}/Core/Tenant/src/Core.Tenant.sln",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"group": "build",
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
},
{
"appId": "core-tenant",
"appPort": 5000,
"label": "daprd-debug",
"type": "daprd",
"placementAddress": "dapr_placement_dapr-dev-container:50005"
},
{
"appId": "core-tenant",
"label": "daprd-down",
"type": "daprd-down"
}
]
}
@ElanHasson
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment