Skip to content

VSCode Launch Configuration for debugging with modular scripts

Cang edited this page Dec 8, 2021 · 3 revisions
{
  "configurations": [
    {
      "name": "Debug Tests",
      "type": "node",
      "request": "launch",
      "program": "${workspaceRoot}/node_modules/modular-scripts/dist-cjs/cli.js",
      "args": [
        "test",
        "--watchAll=false",
        "--runInBand"
      ],
      "cwd": "${workspaceRoot}",
      "console": "integratedTerminal",
      "disableOptimisticBPs": true
    }
  ]
}
Clone this wiki locally