Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging #104

Closed
MisterVladimir opened this issue Nov 19, 2023 · 1 comment
Closed

Debugging #104

MisterVladimir opened this issue Nov 19, 2023 · 1 comment

Comments

@MisterVladimir
Copy link

In order to better understand how the example code worked, I tried running a debugger using WebStorm only to find that server-side debugging is not implemented in SvelteKit. With a little bit of effort, I was able to get server side debugging working using vavite-loader, as recommended in the link above. Could we enable server-side debugging? I'm happy to submit a PR.

@dimfeld
Copy link
Owner

dimfeld commented Nov 19, 2023

I think you'd be better off debugging in the browser inspector. Maplibre doesn't even run on the server since it renders to WebGL, so you won't really get much benefit from debugging on the server IMO.

@dimfeld dimfeld closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants