{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Debug App",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
      "program": "${workspaceRoot}/src/main.js",
      "outFiles": [
        "${workspaceRoot}/src/.build/main.bundle.js"
      ],
      "env": {
        "NODE_ENV": "development"
      },
      "preLaunchTask": "npm: build.main:dev",
      "sourceMaps": true
    },
    {
      "name": "Debug Jest",
      "type": "node",
      "request": "launch",    
      "args": [
        "${workspaceRoot}/node_modules/.bin/jest",
        "--runInBand",
        "--no-cache",
      ],
      "env": {
        "BABEL_ENV": "commonjs"
      },
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen"
    },
    {
      "name": "Debug Jest w/ Coverage",
      "type": "node",
      "request": "launch",     
      "args": [
        "${workspaceRoot}/node_modules/.bin/jest",
        "--runInBand",
        "--no-cache",
        "--coverage",
        "--watch"
      ],
      "env": {
        "BABEL_ENV": "commonjs"
      },
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen"
    }
  ]
}
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Debug App",
      "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
      "windows": {
        "runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
      },
      "program": "${workspaceRoot}/src/main.js",
      "outFiles": [
        "${workspaceRoot}/src/.build/main.bundle.js"
      ],
      "env": {
        "NODE_ENV": "development"
      },
      "preLaunchTask": "npm: build.main:dev",
      "sourceMaps": true
    },
    {
      "name": "Debug Jest",
      "type": "node",
      "request": "launch",    
      "args": [
        "${workspaceRoot}/node_modules/.bin/jest",
        "--runInBand",
        "--no-cache",
      ],
      "env": {
        "BABEL_ENV": "commonjs"
      },
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen"
    },
    {
      "name": "Debug Jest w/ Coverage",
      "type": "node",
      "request": "launch",     
      "args": [
        "${workspaceRoot}/node_modules/.bin/jest",
        "--runInBand",
        "--no-cache",
        "--coverage",
        "--watch"
      ],
      "env": {
        "BABEL_ENV": "commonjs"
      },
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen"
    }
  ]
}
Use windows settings for electron debug
Use windows settings for electron debug
