How to debug in VSCode

I'm unable to debug the getting started app in VSCode. Tried this configuration (.vscode\launch.json):
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node-terminal",
      "request": "launch",
      "name": "Debug Vinxi App",
      "command": "npm run dev",
      "outputCapture": "std"
    },
  ]
}

But, ther server breakpoints work only the first time.
Was this page helpful?