Updated node debug flag to debug and break immediately (#8151)

This commit is contained in:
Nick Taylor 2020-06-04 09:05:22 -04:00 committed by GitHub
parent 9961db3699
commit eea508697a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ watch plugin. It allows you to filter by test filename or test name.
To troubleshoot any of your jest test files, add a debugger and run:
```shell
node --inspect node_modules/.bin/jest --watch --runInBand <path-to-file>
node --inspect-brk node_modules/.bin/jest --watch --runInBand <path-to-file>
```
You can read more about troubleshooting