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 .vue files of a quasar project with VSCode

    Help
    4
    4
    987
    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.
    • L
      lux last edited by

      Hello everybody,
      Is there somewhere a working example about how to configure a quasar project so as to be able to set breakpoints in the .vue files using VSCode?

      I’ve tried with the following configuration suggested in the VSCode github site https://github.com/Microsoft/vscode-recipes/tree/master/vuejs-cli (that should work for vue-cli projects) but I didn’t get it to work with quasar:

      {
        "version": "0.2.0",
        "configurations": [
          {
            "type": "chrome",
            "request": "launch",
            "name": "vuejs: chrome",
            "url": "http://localhost:8084",
            "webRoot": "${workspaceFolder}/src",
            "breakOnLoad": true,
            "sourceMapPathOverrides": {
              "webpack:///./src/*": "${webRoot}/*"
            }
          }
        ]
      }
      

      Thank you all in advance 🙂

      1 Reply Last reply Reply Quote 0
      • P
        poradz last edited by

        Hi, you should add this webpack configuration to your quasar.conf.js (if you use quasar-cli):

          extendWebpack(cfg) {
            cfg.devtool = 'source-map'
          }
        1 Reply Last reply Reply Quote 1
        • G
          gaby82 last edited by

          For me this is not working, anyone found a solution for this??

          1 Reply Last reply Reply Quote 0
          • J
            jaybo_nomad last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • First post
              Last post