This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
// 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);
}
}
});
});
}
};
});