// Metro module 6456 (f6457). import { consoleSandbox } from "./consoleSandbox_6368"; import { defineIntegration } from "./setupIntegration_6424"; export const debugIntegration = defineIntegration(function(r3 = {}) { let c15750_0 = { debugger: false, stringify: false, ...r3 }; return { name: "Debug", setup: (a0) => { a0.on("beforeSendEvent", (c29776_0, c29776_1) => { c15750_0.debugger; consoleSandbox(() => { const stringify = c15750_0.stringify; const r6 = console; if (stringify) { r6.log(JSON.stringify(c29776_0, null, 2)); if (c29776_1 && Object.keys(c29776_1).length) { console.log(JSON.stringify(c29776_1, null, 2)); } } else { r6.log(c29776_0); if (c29776_1 && Object.keys(c29776_1).length) { console.log(c29776_1); } } }); }); } }; });