{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Electron: Main",
      "protocol": "inspector",
      "cwd": "${workspaceRoot}/build",
      "runtimeArgs": ["--remote-debugging-port=9223", "."],
      "windows": {
        "runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
      },
      "sourceMaps": true
    },
    {
      "name": "Electron: Renderer",
      "type": "chrome",
      "request": "attach",
      "port": 9223,
      "webRoot": "${workspaceFolder}/build",
      "sourceMaps": true
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Debug CLI",
      "protocol": "inspector",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/build-cli/bwdc.js",
      "args": ["sync"]
    }
  ],
  "compounds": [
    {
      "name": "Electron: All",
      "configurations": ["Electron: Main", "Electron: Renderer"]
    }
  ]
}
