Skip to content

Commit

Permalink
Fix test debugging instructions for contributors (#14486)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
conartist6 committed Jul 7, 2022
1 parent b67e369 commit cc67a6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -169,10 +169,11 @@ $ TEST_DEBUG=true make test

<details>
<summary>More options</summary>
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
```
</details>
<br>
Expand Down

0 comments on commit cc67a6e

Please sign in to comment.