diff --git a/sentry.client.config.ts b/sentry.client.config.ts index 2722b2b..996b986 100644 --- a/sentry.client.config.ts +++ b/sentry.client.config.ts @@ -11,5 +11,5 @@ Sentry.init({ tracesSampleRate: 1, // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, + debug: process.env.NODE_ENV !== "production", }); diff --git a/sentry.edge.config.ts b/sentry.edge.config.ts index 1ece65d..5d4b1fb 100644 --- a/sentry.edge.config.ts +++ b/sentry.edge.config.ts @@ -12,5 +12,5 @@ Sentry.init({ tracesSampleRate: 1, // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, + debug: process.env.NODE_ENV !== "production", }); diff --git a/sentry.server.config.ts b/sentry.server.config.ts index 7ac4092..55783ad 100644 --- a/sentry.server.config.ts +++ b/sentry.server.config.ts @@ -11,5 +11,5 @@ Sentry.init({ tracesSampleRate: 1, // Setting this option to true will print useful information to the console while you're setting up Sentry. - debug: false, + debug: process.env.NODE_ENV !== "production", });