How do I go about Node --inspect Debbuging Solid Start server-side functions? I don't know what entry to use or the correct settings.
It's hard to use the console log all the time.
Typically I want to debug things like createServerAction$
How do I go about Node --inspect Debbuging Solid Start server-side functions? I don't know what entry to use or the correct settings.
It's hard to use the console log all the time.
Typically I want to debug things like createServerAction$
You need to attach a debugger first, like any other NodeJS application then use debugger
or other debugging keywords:
How to attach a debugger varies, say you are using VSCode editor, the simplest way would be:
+⌄
icon and selecting Javascript Debug Terminal.npm run dev
.debugger
.There are alternative ways to add which you an read about it here: