Add spotlight to your Astro toolbar, for better debugging.
npm install @spotlightjs/astroThis is package is specifically built to add Spotlight to your Astro application with one command.
``js`
npx astro add @sentry/astro @spotlightjs/astro
`js
// astro.config.mjs
import { defineConfig } from 'astro/config';
import sentry from '@sentry/astro';
import spotlightjs from '@spotlightjs/astro';
// https://astro.build/config
export default defineConfig({
// Order matters here! sentry() should come before spotlightjs()``
integrations: [sentry(), spotlightjs()],
});