Spent 2 days trying to debug Node server in SSR mode, help please #18057
Unanswered
MaximSemenov
asked this question in
CLI - SSR mode
Replies: 2 comments
-
I don't actually use this myself, but: And then run the generated files with Otherwise, try running the command from VSCode (https://code.visualstudio.com/docs/nodejs/nodejs-debugging). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I believe there is no built-in argument or configuration. But you can use the usual Node way. You can use NODE_OPTIONS='--inspect' quasar dev -m ssr |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a project in Quasar SSR mode. I like it a lot and I appreciate all the work community has done. But it was hard to get through the documentation honestly.
Now my last step is I need somehow to debug server code NodeJs. Anything I tried did not work I simply do not see anything that Quasar run Server in debug mode. I've been working without Node debugger but it is very hard and I need to resole this. I hope for any help.
My setup is Quasar runs in dev mode
quasar dev -m ssr
with TypeScript & Vite and I'm able to debug client side but not server side. I need a debugger simply for Chrome DevTools like any other SSR framework works. Like Nuxt for example. I've tried do it manually with no luck like so (command from package.json)"dev:ssr-debugp-old": "node --inspect-brk -r esbuild-register src-ssr/server.ts"
.Does even Quasar in SSR mode allow us to run a Node debugger in Chrome DevTools? Thanks.
p.s. I'm possible missing something simple but I was not able to find anything
Beta Was this translation helpful? Give feedback.
All reactions