Language guides
SvelteKit
Connect your SvelteKit app to Chrome DevTools using Subtrace
For this guide, we’ll use a simple SvelteKit app as an example, but any SvelteKit app should work fine. You can find the complete source code for this example here.
To get started, download the latest version of Subtrace using the following command:
Then get a SUBTRACE_TOKEN
from the Subtrace dashboard
for free and set it as an environment variable.
Build and start your server using Subtrace:
That’s it! You can now visit localhost:5173 and make requests to the app that show up on the Subtrace dashboard in realtime.