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 ```