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

    debug ssr in VSCode

    Help
    debugging ssr vscode
    1
    1
    20
    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.
    • M
      mzamateo last edited by

      Hi
      im testing with first ssr project. Done these steps:

      quasar create myssr
      cd myssr
      quasar dev -m ssr --debug

      how is server side suposed to be debugged/inspected with breakpoints?
      adding some console.log(‘something’) here and there, and set breakpoints in VSCode, to stop and debug…

      console.log(’…’) shows once at startup, and if they are in server side (src-ssr/extension.js, etc) are overwritten by quasar logs. Can i log to other console or any tips?

      to stop in breakpoints i launched a nodejs debug at VSCode, but get:

      Uncaught Error: Cannot find module ‘quasar-ssr’

      wich configuration must i use in lounch.json?

      thank you in advance
      best regards

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