Support for replaying with SvelteKit is still a work-in-progress.

Installing

Install the useflytrap package to your SvelteKit project.

Add Flytrap code transform

Add the Flytrap code transform to your Vite configuration, so that all your code gets properly processed for replaying.

Create your Flytrap configuration

Next up, create your Flytrap configuration file. The configuration file defines what project you are capturing & replaying for, and the replay & capture behavior.

You can get the values for your Flytrap configuration file by creating a project as seen below.

Create project with credentials

Catch your first bug

Now your app will be enabled with Flytrap. You can test out the setup by throwing an error in your development environment.

Example

SvelteKit usage example

See how you can use Flytrap with SvelteKit

Learn more

Explore how you can use Flytrap to ship more confidently, solve bugs faster and increase the productivity of your QA & developer teams.