Add this little code snipppet to you svelte config in the export default and you get a nice little debug button at the bottom right.
svelte.config.js
vitePlugin: {
inspector: {
showToggleButton: 'always',
toggleButtonPos: 'bottom-right'
}
}