{
  "version": "0.2.0",
  "configurations": [
    {
      "type":"chrome",
      "request": "launch",
      "name": "Launch Chrome against localhost",
      "url":"http://localhost:4200",
      "webRoot": "${workspaceFolder}"
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Launch Program",
      "program": "${workspaceRoot}/app.js",
      "args": ["environment=brasilcap-properties-dev"],
      "env": {
        "NODE_ENV": "development",
        "environment": "brasilcap-properties-dev",
        "NODE_PORT_DEV": "8085"
      }
    },
    {
      "name": "Debug Tests",
      "type": "node",
      "request": "launch",
      "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
      "stopOnEntry": false,
      "args": [
        "test/**/*.spec.js ",
        "--require",
        "test/init.js",
        "-t",
        "20000",
        "--verbose"
      ],
      "cwd": "${workspaceRoot}",
      "preLaunchTask": null,
      "runtimeArgs": ["--nolazy"]
    },
    {
      "name": "Remote Debug",
      "type": "node",
      "request": "attach",
      "protocol": "legacy",
      "port": 5858,
      "address": "localhost",
      "remoteRoot": "/usr/src/app/",
      "localRoot": "${workspaceRoot}/"
    },
    {
      "name": "Remote Inspect",
      "type": "node",
      "request": "attach",
      "protocol": "inspector",
      "port": 9229,
      "address": "localhost",
      "remoteRoot": "/usr/src/app/",
      "localRoot": "${workspaceRoot}/",
      "trace": true
    }
  ]
}
