{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Controller",
      "type": "go",
      "request": "launch",
      "mode": "exec",
      "program": "${workspaceFolder}/build/_output/bin/devworkspace-local",
      "env": {
        "WATCH_NAMESPACE": "devworkspace-controller",
        "CONTROLLER_CONFIG_MAP_NAMESPACE": "devworkspace-controller"
      }
    },
    {
      "name": "Launch Controller",
      "type": "go",
      "request": "launch",
      "mode": "auto",
      "program": "${workspaceFolder}/cmd/manager/",
      "env": {
        "WATCH_NAMESPACE": "devworkspace-controller",
        "CONTROLLER_CONFIG_MAP_NAMESPACE": "devworkspace-controller"
      },
      "args": []
    },
    {
      "name": "Connect debug to local operator",
      "type": "go",
      "request": "attach",
      "mode": "remote",
      "remotePath": "${workspaceFolder}",
      "port": 2345,
      "host": "127.0.0.1"
    }
  ]
}

