Debugging Quasar in VS Code (Electron Mode)

  • I am setting up my VS Code for Quasar debugging.

    I was able to make it work (hitting the breakpoints, etc) by running my Quasar/Electron app separately then having a Chrome Debugger to listen by doing an attach to port 9222.

    However, I am thinking if there is still a better way to do this?

    So far I have found:

    But it only mentions about Quasar for Web (thus Chrome):

      "type": "chrome",
      "request": "launch",
      "name": "Quasar App: chrome",
      "url": "http://localhost:8080",
      "webRoot": "${workspaceFolder}/src",
      "breakOnLoad": true,
      "sourceMapPathOverrides": {
        "webpack:///./src/*": "${webRoot}/*"

    How to make it Electron mode?


Log in to reply