Quasar, VSCode and breakpoints
-
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.
- The code is stopping where there are no breakpoints.
- Where there are breakpoints, the code is not stopping.
- F5/F10 lead to crazy locations in the code.
- 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.
-
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…
-
No one here is using Firefox for debugging?