title | description |
---|---|
Debug |
Allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend or beforeSendTransaction. (deprecated) |
{/* TODO(v9): Remove this page and all references to it */}
The Debug
Integration is deprecated and will be removed in the next major version of the SDK.
To log outgoing events, we recommend using Hook Options in Sentry.init()
.
Import name: Sentry.debugIntegration
This integration allows you to inspect the contents of a processed event and hint object that gets passed to beforeSend
or beforeSendTransaction
. It will always run as the last integration, no matter when it was registered.
Note that this is different than setting debug: true
(which will enable debug logging in the console) in your Sentry.init options.
Type: boolean
Trigger DevTools debugger instead of using console.log
.
Type: boolean
Stringify event before passing it to console.log
.