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

    Quasar, VSCode and breakpoints

    Help
    1
    3
    172
    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.
    • A
      amoss last edited by amoss

      Hi

      I added the following to launch.json

      {
          "version": "0.2.0",
          "configurations": [
            {
              "type": "firefox",
              "request": "launch",
              "name": "vuejs: firefox",
              "url": "http://localhost:8080",
              "webRoot": "${workspaceFolder}/src",
              "firefoxExecutable": "C:\\Users\\user\\Downloads\\Portable\\FirefoxPortable\\App\\firefox64\\firefox.exe",
              "pathMappings": [{ "url": "webpack:///src/", "path": "${webRoot}/" }]        
            }
          ]
        }
      

      Breakpoints were set, Firefox is running, debug is working… oh wait, it’s not.

      1. The code is stopping where there are no breakpoints.
      2. Where there are breakpoints, the code is not stopping.
      3. F5/F10 lead to crazy locations in the code.
      4. If the code stops at a breakpoint and I remove it, it keeps stopping there as if it’s still there.
        All the above is making debug with Firefox impossible. Am I the only one with this problem or maybe no one is debugging using Firefox?
        Thanks
        edit: it looks like adding “sourceMaps”: “client” improves things a bit but point 4 still occurs for example.
      1 Reply Last reply Reply Quote 0
      • A
        amoss last edited by

        Even sourceMaps messes things up, it stops where no one asked it to stop and even if I remove all breakpoints, it insists on stopping there…

        1 Reply Last reply Reply Quote 0
        • A
          amoss last edited by

          No one here is using Firefox for debugging?

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