Static GitHub Issues

[2734] Breakpoints doesn't work in vscode debugger

prev: page fetch and action/dispatch redirect not working.
next: Get localStorage token from nuxtServerInit

I'm using this command to debug nuxt server store

"debug": "node --inspect-brk=9229 node_modules/nuxt/bin/nuxt",

and in vs code i'll attach it when it runs

{
      "type": "node",
      "request": "attach",
      "name": "Attach",
      "port": 9229,
      "protocol": "inspector",
      "restart": true,
      "sourceMaps": true
    }

seems breakpoints doesn't work and grayed out turned sourceMaps on too

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2374">#c2374</a>)</em></sub></div>