From cc67a6e2c4fe29f9596dec3f6ffe1d3a41045a42 Mon Sep 17 00:00:00 2001 From: Conrad Buck Date: Thu, 7 Jul 2022 04:21:36 -0400 Subject: [PATCH] Fix test debugging instructions for contributors (#14486) [skip ci] --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e355772a9dc..b341efc5dc5b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -169,10 +169,11 @@ $ TEST_DEBUG=true make test
More options - Or you can directly use Yarn + + You can also run `jest` directly, but you must remember to include `--runInBand` or `-i` or you [may not hit breakpoints with the chrome debugger](https://github.com/nodejs/node/issues/26609). ```sh - $ yarn node --inspect-brk node_modules/jest/bin/jest.js --runInBand + yarn run --inspect-brk jest -i packages/package-to-test ```