Newbie - Debugging third party dependent components on the client in the node_modules folder #11962
Unanswered
sdgoldstein
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried setting a breakpoint in a Flowbite Svelte Button component to verify the parameter values being received, but was unable to, as Chrome Devtools is unable to retrieve the file:
Could not load content for http://localhost:5173/node_modules/flowbite-svelte/dist/buttons/Button.svelte (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
I'm assuming this has to do with Sveltekit routing. Is there any easy way, when using vite dev, to allow resources under node_modules to be served? Or, is there another way to step into dependent components when debugging?
Thank you for the help!
Scott
Beta Was this translation helpful? Give feedback.
All reactions