{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Blog - Docker",
      "type": "coreclr",
      "request": "attach",
      "processId": "${command:pickRemoteProcess}",
      "pipeTransport": {
          "pipeProgram": "docker",
          "pipeArgs": [ "exec", "-i", "blog.stevanfreeborn.com-development" ],
          "debuggerPath": "/root/vsdbg/vsdbg",
          "pipeCwd": "${workspaceRoot}",
          "quoteArgs": false
      },
      "sourceFileMap": {
          "/app": "${workspaceRoot}/src/Blog/"
      }
    },
    {
      "name": "Blog",
      "type": "coreclr",
      "request": "launch",
      "preLaunchTask": "build_blog",
      "program": "${workspaceFolder}/src/Blog/bin/Debug/net8.0/Blog.dll",
      "args": [],
      "cwd": "${workspaceFolder}/src/Blog",
      "stopAtEntry": false,
      "serverReadyAction": {
        "action": "openExternally",
        "pattern": "\\bNow listening on:\\s+(https?://\\S+)"
      },
      "env": {
        "ASPNETCORE_ENVIRONMENT": "Development"
      },
      "sourceFileMap": {
        "/Views": "${workspaceFolder}/Views"
      }
    },
    {
      "name": ".NET Core Attach",
      "type": "coreclr",
      "request": "attach"
    }
  ]
}