Taken from Jest's troubleshooting page:
- Place a
debugger
; statement in any of your tests, and then, in your project's directory yarn test-debug
- open Chrome and go to
chrome://inspect
- click on "Open Dedicated DevTools for Node"
- click on the address displayed in the terminal (usually something like