From fc631a425d8a1188dea76dd1af3914974f762f3a Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 11 Jun 2025 19:03:06 +0000 Subject: [PATCH 1/2] Add debugging instructions to Node integration tests README --- dev-packages/node-integration-tests/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dev-packages/node-integration-tests/README.md b/dev-packages/node-integration-tests/README.md index c920f05d5e31..b3d7ced1a447 100644 --- a/dev-packages/node-integration-tests/README.md +++ b/dev-packages/node-integration-tests/README.md @@ -47,3 +47,19 @@ To run tests with Vitest's watch mode: To filter tests by their title: `yarn test -t "set different properties of a scope"` + +## Debugging Tests + +To enable verbose logging during test execution, set the `DEBUG` environment variable: + +`DEBUG=1 yarn test` + +When `DEBUG` is enabled, the test runner will output: +- Test scenario startup information (path, flags, DSN) +- Docker Compose output when using `withDockerCompose` +- Child process stdout and stderr output +- HTTP requests made during tests +- Process errors and exceptions +- Line-by-line output from test scenarios + +This is particularly useful when debugging failing tests or understanding the test execution flow. From 0d52d87abc532878b363de20d3fc84574358b613 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Wed, 11 Jun 2025 15:09:26 -0400 Subject: [PATCH 2/2] cursor cleanup --- dev-packages/node-integration-tests/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-packages/node-integration-tests/README.md b/dev-packages/node-integration-tests/README.md index b3d7ced1a447..b2d8db2124d1 100644 --- a/dev-packages/node-integration-tests/README.md +++ b/dev-packages/node-integration-tests/README.md @@ -55,6 +55,7 @@ To enable verbose logging during test execution, set the `DEBUG` environment var `DEBUG=1 yarn test` When `DEBUG` is enabled, the test runner will output: + - Test scenario startup information (path, flags, DSN) - Docker Compose output when using `withDockerCompose` - Child process stdout and stderr output