Dev Toolbar

Bring critical Sentry insights and tools directly into your web app for easier troubleshooting with the Dev Toolbar.

Developers spend a lot of time troubleshooting their web apps on local, staging, and production environments. The Sentry Dev Toolbar pulls data from sentry.io and surfaces relevant, actionable issues to you when you have the most context for understanding it: as you browse your own site. The Dev Toolbar is a floating widget in your web app, offering meaningful Sentry insights for the specific page being viewed through three different page-aware panels: Issues, Feedback, and Feature Flags.

Collapsed Dev Toolbar in context of a website

The issues panel shows you your highest priority frontend issues for the page you are currently viewing. From the Dev Toolbar, you can quickly jump into specific issues in Sentry to get more detailed information (examples: Sentry project, issue title, description, and when the issue was first and last seen) and take action (examples: assign to a team member or mark as resolved). With the issues panel, you can browse the pages that are most important to your business and understand the top issues impacting your user base.

Dev Toolbar with the Issues Panel open

The feedback panel shows you the most recent user feedback messages for the page you are on, so you can more easily contextualize it. The feedback often describes suboptimal experiences that are not strictly code-thrown errors, such as misleading UX, broken links, and typos. The feedback panel works by pulling feedback messages from Sentry’s User Feedback Widget. Just like with the Issues panel, clicking on a particular user feedback will take you to the full detailed User Feedback page within Sentry.

Dev Toolbar with the Feedback Panel open

Feature flags are a powerful tool that allow you to control the visibility of features in your app, enabling you to ship, test, and experiment with confidence. The feature flag panel allows you to quickly view and override feature flags locally. You can override any feature flag to be true or false for your browser session, so you can verify its behavior and observe the impact it might have on errors. Learn more about how to configure the feature flag panel and what data Sentry can track related to your feature flagging system.

Dev Toolbar with the Feature Flags Panel open

After setting up the Dev Toolbar you’ll see a “Login to Sentry” button floating in the center of the page. To access any information from your Sentry organization, you have to click this button and login to Sentry. Dev Toolbar login button

After clicking the button, you will see a pop-up window for logging in to Sentry. Sentry log in pop up

If it's your first time setting up the Dev Toolbar, there will be a button with a link to Sentry's Dev Toolbar settings page to configure your domain. Dev Toolbar configure domains button

You'll need to add your domain URL to Allowed Origins in Sentry on the Settings > Project > Dev Toolbar page. Sentry's Dev Toolbar Settings Page

Learn more about setting up the toolbar, including configuring a feature flag provider and integrating the toolbar in different environments, on the next page.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").