No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Debugging Quasar in VS Code (Electron Mode)

    Framework
    1
    1
    317
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      keechan last edited by

      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:
      https://quasar.dev/start/vs-code-configuration

      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?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post