FredericHeem/starhackit

View on GitHub
.vscode/launch.json

Summary

Maintainability
Test Coverage
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "chrome",
      "name": "Debug Frontend",
      "request": "launch",
      "url": "http://localhost:8080/infra",
      "webRoot": "${workspaceFolder}/client/src"
    },
    {
      "name": "Debug Server Test",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "mocha", "--", "--inspect-brk=9229"],
      "internalConsoleOptions": "openOnSessionStart",
      "console": "integratedTerminal",
      "cwd": "${workspaceFolder}/server",
      "port": 9229
    },
    {
      "name": "Debug Worker Test",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "test", "--", "--inspect-brk=9229"],
      "internalConsoleOptions": "openOnSessionStart",
      "console": "integratedTerminal",
      "cwd": "${workspaceFolder}/services/worker",
      "port": 9229
    },
    {
      "name": "API Server",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "start"],
      "internalConsoleOptions": "openOnSessionStart",
      "console": "integratedTerminal",
      "cwd": "${workspaceFolder}/server"
    },
    {
      "name": "Debug test",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npm",
      "runtimeArgs": ["run", "test"],
      "cwd": "${workspaceRoot}/server",
      "internalConsoleOptions": "openOnSessionStart",
      "env": {
        "NODE_PATH": "src"
      }
    }
  ]
}