{
  // https://github.com/microsoft/vscode-js-debug/blob/master/OPTIONS.md
  "configurations": [
    {
      "name": "Debug Frontend",
      "request": "launch",
      "type": "pwa-chrome",
      "url": "http://localhost:8123/",
      "webRoot": "${workspaceFolder}/hass_frontend",
      "disableNetworkCache": true,
      "preLaunchTask": "Develop Frontend",
      "outFiles": ["${workspaceFolder}/hass_frontend/frontend_latest/*.js"]
    },
    {
      "name": "Debug Gallery",
      "request": "launch",
      "type": "pwa-chrome",
      "url": "http://localhost:8100/",
      "webRoot": "${workspaceFolder}/gallery/dist",
      "disableNetworkCache": true,
      "preLaunchTask": "Develop Gallery"
    },
    {
      "name": "Debug Demo",
      "request": "launch",
      "type": "pwa-chrome",
      "url": "http://localhost:8090/",
      "webRoot": "${workspaceFolder}/demo/dist",
      "disableNetworkCache": true,
      "preLaunchTask": "Develop Demo"
    },
    {
      "name": "Debug Cast",
      "request": "launch",
      "type": "pwa-chrome",
      "url": "http://localhost:8080/",
      "webRoot": "${workspaceFolder}/cast/dist",
      "disableNetworkCache": true,
      "preLaunchTask": "Develop Cast"
    }
  ]
}
