UNPKG

884 BTypeScriptView Raw
1import { EventProcessor, Hub, Integration } 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}
8/**
9 * Integration to debug sent Sentry events.
10 * This integration should not be used in production
11 */
12export declare class Debug implements Integration {
13 /**
14 * @inheritDoc
15 */
16 static id: string;
17 /**
18 * @inheritDoc
19 */
20 name: string;
21 private readonly _options;
22 constructor(options?: DebugOptions);
23 /**
24 * @inheritDoc
25 */
26 setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
27}
28export {};
29//# sourceMappingURL=debug.d.ts.map
\No newline at end of file