Skip to content

Commit ea5d99e

Browse files
committed
DEBUG
1 parent d03f6e7 commit ea5d99e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packages/e2e-tests/test-applications/create-next-app/sentry.client.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Sentry.init({
99
dsn: process.env.NEXT_PUBLIC_E2E_TEST_DSN,
1010
// Adjust this value in production, or use tracesSampler for greater control
1111
tracesSampleRate: 1.0,
12+
13+
debug: true,
14+
1215
// ...
1316
// Note: if you want to override the automatic release value, do not set a
1417
// `release` value here - use the environment variable `SENTRY_RELEASE`, so

packages/e2e-tests/test-applications/create-next-app/sentry.server.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Sentry.init({
2121
// that it will also get attached to your source maps
2222

2323
integrations: [new Sentry.Integrations.LocalVariables()],
24+
25+
debug: true,
2426
});
2527

2628
Sentry.addGlobalEventProcessor(event => {

packages/e2e-tests/test-applications/create-next-app/tests/behaviour-client.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const sentryTestProject = process.env.E2E_TEST_SENTRY_TEST_PROJECT;
77
const EVENT_POLLING_TIMEOUT = 30_000;
88

99
test('Sends a client-side exception to Sentry', async ({ page }) => {
10+
page.on('console', msg => console.log(msg.text()));
1011
await page.goto('/');
1112

1213
const exceptionButton = page.locator('id=exception-button');

0 commit comments

Comments
 (0)