Skip to content

chore: Document process.env.DEBUG in node integration tests README #16558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025

Conversation

AbhiPrasad
Copy link
Member

A new "Debugging Tests" section was added to dev-packages/node-integration-tests/README.md.

This section documents the DEBUG environment variable, which enables verbose logging for the integration test suite.

When DEBUG=1 is set (e.g., DEBUG=1 yarn test), the test runner provides detailed output, including:

  • Test scenario startup information (path, flags, DSN).
  • Docker Compose output when tests use withDockerCompose.
  • Child process stdout and stderr.
  • HTTP requests made during tests.
  • Process errors and exceptions.
  • Line-by-line output from test scenarios.

This addition improves discoverability and understanding of the debugging capabilities, aiding in troubleshooting failing tests and analyzing test execution flow.

@AbhiPrasad AbhiPrasad requested a review from aliu39 June 11, 2025 19:05
@AbhiPrasad AbhiPrasad self-assigned this Jun 11, 2025
Copy link
Contributor

⚠️ This PR is opened against master. You probably want to open it against develop.

Copy link
Contributor

github-actions bot commented Jun 11, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.99 kB - -
@sentry/browser - with treeshaking flags 23.76 kB - -
@sentry/browser (incl. Tracing) 38.36 kB - -
@sentry/browser (incl. Tracing, Replay) 76.47 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.57 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 81.23 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 93.31 kB - -
@sentry/browser (incl. Feedback) 40.73 kB - -
@sentry/browser (incl. sendFeedback) 28.7 kB - -
@sentry/browser (incl. FeedbackAsync) 33.59 kB - -
@sentry/react 25.76 kB - -
@sentry/react (incl. Tracing) 40.35 kB - -
@sentry/vue 28.36 kB - -
@sentry/vue (incl. Tracing) 40.21 kB - -
@sentry/svelte 24.01 kB - -
CDN Bundle 25.48 kB - -
CDN Bundle (incl. Tracing) 38.55 kB - -
CDN Bundle (incl. Tracing, Replay) 74.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 79.87 kB - -
CDN Bundle - uncompressed 74.48 kB - -
CDN Bundle (incl. Tracing) - uncompressed 114.16 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 228.13 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 240.95 kB - -
@sentry/nextjs (client) 42.01 kB - -
@sentry/sveltekit (client) 38.84 kB - -
@sentry/node 150.48 kB - -
@sentry/node - without tracing 98.35 kB -0.01% -1 B 🔽
@sentry/aws-serverless 124.11 kB - -

View base workflow run

@AbhiPrasad AbhiPrasad changed the base branch from master to develop June 11, 2025 19:08
@AbhiPrasad AbhiPrasad merged commit 65310d5 into develop Jun 11, 2025
32 checks passed
@AbhiPrasad AbhiPrasad deleted the cursor/document-process-env-debug-in-readme-cc53 branch June 11, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants