Skip to content

Commit 23d1654

Browse files
committed
docs: Add FAQ page for the Dev Toolbar
1 parent 7846e43 commit 23d1654

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/product/dev-toolbar/faq.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: FAQ
3+
sidebar_order: 30
4+
description: "Frequently asked questions about the Dev Toolbar."
5+
---
6+
7+
<Expandable title="Are there plans to include the Dev Toolbar in the JavaScript SDK?">
8+
9+
The the Dev Toolbar is very distinct from the JavaScript SDK and will not be merged into the [JavaScript SDK](https://github.com/getsentry/sentry-javascript).
10+
11+
Some of the differences include:
12+
- The toolbar has a different set of [dependencies](https://github.com/getsentry/sentry-toolbar/blob/main/package.json) and uses different browser API's that the JavaScript SDK does not use. For example: the toolbar will interact with things like cookies and localstorage. By keeping these pieces of code separate it is easier to audit the [SDK code on github](https://github.com/getsentry/sentry-javascript) to verify that it is not persisting information inside end-users browsers.
13+
- The setup & deploy instruction are very different. The SDK is best deployed on staging and production environments, and can be configured easily with environment variables. The Dev Toolbar requires special considerations to deploy it into production, usually by creating a condition so that it's only included for members of your own Sentry organization. This is why it's important to keep the setup instructions separate between the two.
14+
15+
</Expandable>

0 commit comments

Comments
 (0)