jest debugger code example
Example 1: jest debugger node
node --inspect node_modules/.bin/jest --runInBand <path_to_test>
Example 2: jest chrome debugger
node --inspect-brk node_modules/.bin/jest --runInBand [any other arguments here]
or on Windows
node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand [any other arguments here]
Copy