{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
      {
        "type": "node",
        "request": "launch",
        "name": "Start Server",
        "program": "${workspaceFolder}/index.js"
      },
      {
          "type": "node",
          "request": "launch",
          "name": "Jest App Server",
          "program": "${workspaceFolder}/node_modules/.bin/jest",
          "args": ["apps", "--runInBand"],
          "console": "integratedTerminal",
          "internalConsoleOptions": "neverOpen",
          "disableOptimisticBPs": true,
          "windows": {
              "program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
          }
        },
        {
          "type": "node",
          "request": "launch",
          "name": "Jest Builder",
          "program": "${workspaceFolder}/node_modules/.bin/jest",
          "args": ["builder", "--runInBand"],
          "console": "integratedTerminal",
          "internalConsoleOptions": "neverOpen",
          "disableOptimisticBPs": true,
          "windows": {
              "program": "${workspaceFolder}/node_modules/jest-cli/bin/jest",
          }
        },
        {
          "type": "node",
          "request": "launch",
          "name": "Initialise Budibase",
          "program": "yarn",
          "args": ["run", "initialise"],
          "console": "externalTerminal" 
        }
    ]
}