UNPKG

881 BTypeScriptView Raw
1import type { Client, Integration, IntegrationClass } from '@sentry/types';
2interface DebugOptions {
3 /** Controls whether console output created by this integration should be stringified. Default: `false` */
4 stringify?: boolean;
5 /** Controls whether a debugger should be launched before an event is sent. Default: `false` */
6 debugger?: boolean;
7}
8export declare const debugIntegration: (options?: DebugOptions | undefined) => import("@sentry/types").IntegrationFnResult;
9/**
10 * Integration to debug sent Sentry events.
11 * This integration should not be used in production.
12 *
13 * @deprecated Use `debugIntegration()` instead.
14 */
15export declare const Debug: IntegrationClass<Integration & {
16 setup: (client: Client) => void;
17}> & (new (options?: {
18 stringify?: boolean;
19 debugger?: boolean;
20}) => Integration);
21export {};
22//# sourceMappingURL=debug.d.ts.map
\No newline at end of file