> ## Documentation Index
> Fetch the complete documentation index at: https://docs.depict.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Debugging and Error reporting

<Warning>
  This page does not apply to installs made in 2025 or later of the Depict Shopify apps
</Warning>

The Depict UI SDK monitors itself internally for error occurrence and automatically sends an event to Depict once this occurs. This reporting lets us quickly notice if something is broken in our SDK and offers insight into fixing bugs. This reporting is, however, suppressed by default on your browser. You can show these events to gain insights into the SDK's internals.

To view event logs from the SDK, run the following command in your browser console:

```javascript JavaScript theme={null}
localStorage.debug = true
```

Similarly, you can disable sending these error reports to Depict by setting the value of the `SENTRY` environment variable to false, as shown:

<CodeGroup>
  ```text Vanilla JavaScript theme={null}
  SENTRY=false
  ```

  ```text React.js theme={null}
  REACT_APP_SENTRY=false
  ```

  ```text Next.js theme={null}
  NEXT_PUBLIC_SENTRY=false
  ```
</CodeGroup>
