Desktop App
The Spotlight Desktop App is a standalone application that combines the sidecar server and debugging UI in a single package. Perfect for when you want a dedicated debugging environment.
Why Use the Desktop App?
Section titled “Why Use the Desktop App?”The desktop app offers several advantages:
- All-in-one solution: Sidecar server and UI bundled together
- No browser required: Dedicated window for debugging
- Persistent workspace: Stays open across browser refreshes
- Auto-updates: Always get the latest features
- Clean separation: Keep debugging separate from your development browser
- Built-in HTTP MCP server: Model Context Protocol (MCP) Server directly from the desktop app. Perfect for:
- Headless or mobile development
- When you want debugging in a separate window
- Team members who prefer desktop apps
- Quick setup without browser configuration
Download and Installation
Section titled “Download and Installation”Get started by downloading the latest version for your platform:
Installation Steps
Section titled “Installation Steps”- Download the app using the button above
- Open the downloaded
.dmgfile - Drag Spotlight to your Applications folder
- Launch Spotlight from Applications
What’s Included
Section titled “What’s Included”The desktop app provides everything you need for local debugging:
Built-in Sidecar Server
Section titled “Built-in Sidecar Server”The app automatically starts a Spotlight sidecar server:
- Default port: 8969 (configurable in settings)
- No need to run separate commands
- Just launch the app and you’re ready
Debugging UI
Section titled “Debugging UI”Access all Spotlight features through the dedicated interface:
- Errors Tab: View runtime errors with full stack traces
- Traces Tab: Inspect performance traces and spans
- Logs Tab: Browse application logs with filtering
- Profiles Tab: Analyze performance profiles
- Settings: Configure sidecar and UI preferences
Auto-Updates
Section titled “Auto-Updates”The app keeps itself up to date:
- Automatically checks for updates
- Downloads and installs in the background
- Ensures you always have the latest features and bug fixes
Setup Your Application
Section titled “Setup Your Application”Once the desktop app is running, configure your application to send telemetry to Spotlight:
Backend Applications (Node.js, Python, etc.)
Section titled “Backend Applications (Node.js, Python, etc.)”Set the SENTRY_SPOTLIGHT environment variable:
// Sentry will automatically use SENTRY_SPOTLIGHT env varimport * as Sentry from '@sentry/node';
Sentry.init({ dsn: 'your-dsn', // Optional for local dev // No spotlight config needed - handled by env var});Run your app:
SENTRY_SPOTLIGHT=1 node server.js# orexport SENTRY_SPOTLIGHT=1npm run dev# Sentry will automatically use SENTRY_SPOTLIGHT env varimport sentry_sdk
sentry_sdk.init( dsn="your-dsn", # Optional for local dev # No spotlight config needed - handled by env var)Run your app:
SENTRY_SPOTLIGHT=1 python app.py# orexport SENTRY_SPOTLIGHT=1flask runMost Sentry SDKs support the SENTRY_SPOTLIGHT environment variable:
SENTRY_SPOTLIGHT=1 ./your-app# orexport SENTRY_SPOTLIGHT=1./your-appCheck your SDK’s documentation for Spotlight support.
Frontend Applications
Section titled “Frontend Applications”For browser-based applications, add the Spotlight browser integration:
import * as Sentry from '@sentry/browser';
Sentry.init({ dsn: 'your-dsn', // Optional for local dev integrations: [ Sentry.browserTracingIntegration() ], // Only enable in development enabled: process.env.NODE_ENV === 'development'});Using the Desktop App
Section titled “Using the Desktop App”Starting the App
Section titled “Starting the App”- Launch Spotlight from your Applications folder
- The sidecar server starts automatically on port 8969
- The debugging UI opens in the app window
Viewing Events
Section titled “Viewing Events”As your application sends telemetry to Spotlight:
- Errors appear in real-time in the Errors tab
- Traces are displayed with timing information
- Logs stream to the Logs tab
- Profiles show up when captured
Filtering and Searching
Section titled “Filtering and Searching”Use the built-in filters to find what you need:
- Search by text: Find errors or logs containing specific text
- Filter by type: Show only errors, traces, or logs
- Time range: Focus on specific time periods
- Source filter: Show events from specific files or components
Inspecting Details
Section titled “Inspecting Details”Click any event to see full details:
- Errors: Complete stack traces, context, and breadcrumbs
- Traces: Full span tree with timing breakdown
- Logs: Structured log data with attributes
- Profiles: Flamegraphs and performance metrics
Clearing Events
Section titled “Clearing Events”Use the clear button in the toolbar to remove all events and start fresh.
Configuration
Section titled “Configuration”Changing the Port
Section titled “Changing the Port”If port 8969 is already in use:
- Open Spotlight Settings (via menu or gear icon)
- Change the Sidecar Port setting
- Restart the app
- Update your app’s SDK configuration to match
UI Preferences
Section titled “UI Preferences”Customize the interface:
- Theme: Choose light or dark mode
- Font size: Adjust for readability
- Panel layout: Configure which panels are visible
When to Use Desktop App vs CLI vs Browser
Section titled “When to Use Desktop App vs CLI vs Browser”Choose the right tool for your workflow:
Use Desktop App When:
Section titled “Use Desktop App When:”- ✅ You want a dedicated debugging window
- ✅ You prefer desktop applications
- ✅ You’re developing headless or mobile apps
- ✅ You want automatic updates
Use CLI When:
Section titled “Use CLI When:”- ✅ You prefer terminal-based workflows
- ✅ You need to stream events to files
- ✅ You’re automating with scripts
- ✅ You want machine-readable output
Both options provide access to the same UI—the Desktop App has it built-in, while the CLI serves it at http://localhost:8969.
Use Cases
Section titled “Use Cases”Mobile Development
Section titled “Mobile Development”When developing mobile apps, the desktop app provides a great debugging companion:
- Run the desktop app on your machine
- Configure your mobile app’s SDK to point to your machine’s IP:
spotlight: "http://192.168.1.100:8969/stream"
- Run your mobile app on device/simulator
- View events in the desktop app
Backend Development
Section titled “Backend Development”For backend services without a browser:
- Start the desktop app
- Run your backend with
SENTRY_SPOTLIGHT=1 - Make API requests to your service
- See traces and errors in the desktop app
Microservices
Section titled “Microservices”Debug multiple services simultaneously:
- Start the desktop app (single sidecar on port 8969)
- Point all services to the same sidecar
- See events from all services in one place
- Filter by service or component
Troubleshooting
Section titled “Troubleshooting”App Won’t Start
Section titled “App Won’t Start”macOS Security Warning:
If you see “Spotlight can’t be opened because it is from an unidentified developer”:
- Right-click the app and select “Open”
- Click “Open” in the security dialog
- macOS will remember this choice
Port Already in Use:
If you see a port conflict:
- Change the port in Settings
- Or close other applications using port 8969
No Events Showing
Section titled “No Events Showing”Check SDK Configuration:
- Verify Sentry SDK is initialized in your app
- Ensure
spotlightintegration is enabled - Check environment variable is set:
SENTRY_SPOTLIGHT=1
Check Network:
- Verify your app can reach
localhost:8969 - Check firewall settings if needed
Enable Debug:
- In your app, enable Sentry debug mode
- Check console for Spotlight connection messages
Events Not Updating
Section titled “Events Not Updating”Refresh the View:
- Click the refresh button or use Cmd+R
Clear and Restart:
- Clear events
- Restart your application
- Trigger new events
Privacy and Security
Section titled “Privacy and Security”Local-Only
Section titled “Local-Only”The desktop app and sidecar run entirely on your local machine:
- No data sent to external servers - Everything stays local
- No telemetry collected - The app doesn’t track your usage
- Memory-only storage - Events are cleared when the app closes
Development Only
Section titled “Development Only”Spotlight is designed exclusively for development:
- Never enable in production - Use environment checks to restrict to development only
- Guard sensitive data - Keep production secrets out of test scenarios
- Review before sharing - Be mindful when sharing screenshots or logs
Next Steps
Section titled “Next Steps”- Configure your SDK - Setup guide for different frameworks
- Use the CLI - Terminal-based workflows
- MCP Integration - Connect to AI assistants
- Explore integrations - Custom integrations