sveltejs / kit

web development, streamlined
https://kit.svelte.dev
MIT License
18.62k stars 1.92k forks source link

🕵️ Developer toolbar/overlay for SvelteKit specific features #7695

Open chvanam opened 1 year ago

chvanam commented 1 year ago

Describe the problem

Some SvelteKit specific data can be hard to log/debug. A debug toolbar or overlay could help onboard new developers to SvelteKit.

Describe the proposed solution

I think a developer toolbar/overlay for SvelteKit showing some of the points below could be helpful and boost productivity:

I'm partly taking inspiration from the Symfony's Web Debug Toolbar.

Would this be useful ? How could this be implemented, maybe as a vite plugin?

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

stephane-klein commented 1 year ago

@chvanam Have you found a tool ?

LorisSigrist commented 1 year ago

+1 The Symfony toolbar is absolutely fantastic.

Given that SvelteKit can have some fairly complex data-loading, with all the hooks, layouts and load actions, having a toolbar shining light through all that would be wonderful. It would make the framework even more accessible to newcomers. Performance issues would also be a lot easier to identify.

chvanam commented 1 year ago

@chvanam Have you found a tool ?

Unfortunately no. But I guess the Svelte Inspector is a step forward for the Svelte part, now we need a SvelteKit inspector 😎