{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Attach python debugger",
      "type": "python",
      "request": "attach",
      "connect": {
        "host": "localhost",
        "port": 5678
      },
      "django": true
    },
    {
      "name": "Debug python",
      "type": "python",
      "request": "launch",
      "module": "uvicorn",
      "cwd": "${workspaceFolder}/api",
      "envFile": "${workspaceFolder}/.gitpod/.env",
      "args": [
        "--reload",
        "config.asgi:application",
        "--host",
        "0.0.0.0",
        "--port",
        "5000",
        "--reload-dir",
        "config/",
        "--reload-dir",
        "funkwhale_api/"
      ],
      "django": true
    }
  ]
}
