Svolte banner

Overview

Svolte is an open source Chrome developer tool for time travel debugging and component hierarchy visualization in Svelte applications. Svolte enables developers to record snapshots of component states, visualize component props, inspect and jump between snapshots. Svolte is the first Svelte time travel debugger that is compatible with writable stores and includes a skip feature.

Developed with

Features

Component Hierarchy and Props Visualization

Visualize the hierarchy of your Svelte app and check the props of each component.

tree demo gif

Record and Inspect Component State Snapshots

Record the states of your components to see how each state has changed.

state inspection gif

Jumping and Skipping

  • Jump through each snapshot to recreate state changes.

  • Have a snapshot you want to skip? Simply toggle skip to ignore that snapshot when you jump.

time travel gif

Getting Started

Download from the Chrome Store

Download the chrome extension here.

This extension is only compatible with Svelte projects running in development mode, so be sure to check that configuration if you are not starting up your project with npm run dev.

Manual Installation for Developers

Fork and clone this repository into your local machine. Once that is done, run the commands npm i and npm run build to download the dependencies and build the dev tool. Finally, making sure you toggle Developer mode on in your Chrome browser, you can load unpack the extension folder (located in the root level of the repository).

How to Use

After installing the Chrome extension open up your project in Chrome, and be sure your Svelte application is running in development mode.

Right click your application and Inspect or press f12 to open up Chrome Dev Tools, and navigate to the Svolte panel (which may be hidden behind >> if you have too many tabs).

You are then ready to debug your Svolte application!

open dev gif

The Svolte Team


Harry Vu
LinkedIn Icon GitHub Icon

Scott Kim
LinkedIn Icon GitHub Icon

Ying-An Wang
LinkedIn Icon GitHub Icon

Petros Ogbamichael
LinkedIn Icon GitHub Icon

Support

If you find Svolte to be useful please throw a :star2: our way and share this project with your Svelte developer friends!

License

Svolte is developed under the MIT license.

Top categories

Loading Svelte Themes