4 ms·
There is a nifty SvelteKit plugin called Svelte Inspector[1] that lets you select an element in the browser and open the source file in you IDE. It doesn't alwa
by Leftium 3y ago
There is a nifty SvelteKit plugin called Svelte Inspector[1] that lets you select an element in the browser and open the source file in you IDE. It doesn't always get the line number perfectly, but it's pretty good.
I think it is based on https://github.com/webfansplz/vite-plugin-vue-inspector https://github.com/webfansplz/vite-plugin-vue-inspector
And this seems to be a similar tool for React: https://chrome.google.com/webstore/detail/react-inspector/gkkcgbepkkhfnnjolcaggogkjodmlpkh https://chrome.google.com/webstore/detail/react-inspector/gk...
There is also React Dev Tools: https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi https://chrome.google.com/webstore/detail/react-developer-to...
If none of those suit your needs, I think most of them are open-source. So modify as needed~
[1]: https://joyofcode.xyz/svelte-inspector https://joyofcode.xyz/svelte-inspector