Skip to content

Instantly share code, notes, and snippets.

@pavel-agarkov
Last active February 7, 2021 12:16
Show Gist options
  • Save pavel-agarkov/9748bd859d9e74959afee3fc2b447613 to your computer and use it in GitHub Desktop.
Save pavel-agarkov/9748bd859d9e74959afee3fc2b447613 to your computer and use it in GitHub Desktop.
launch.json for remote debugging dotnet running in Kubernetes from Visual Studio 2019
{
"version": "0.2.0",
"adapter": "C:\\Program Files\\Git\\bin\\bash.exe",
"adapterArgs": "-c \"%SolutionRootForBash%/kube-debug.sh --selector app.kubernetes.io/name=my-app-name --namespace my-app-namespace\"",
"configurations": [
{
"name": "dotnet k8s attach",
"type": "coreclr",
"request": "attach",
"processName": "dotnet"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment