Skip to content

Commit

Permalink
Fix test debugging instructions for contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
conartist6 authored and nicolo-ribaudo committed Jul 7, 2022
1 parent b67e369 commit 85292ed
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 85292ed

Please sign in to comment.