Last active
May 25, 2020 16:33
-
-
Save ElanHasson/798ac6d2c1dc1592f52f91fbc702f746 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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" | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/ElanHasson/798ac6d2c1dc1592f52f91fbc702f746#file-tasks-json-L27
Is the really important part.