Version
29.7.0
Steps to reproduce
- Clone https://github.com/cdoublev/jest-issue
- Run
node --inspect-brk=0.0.0.0:9222 ./node_modules/.bin/jest --watchAll --runInBand (or npm test)
- Open
chrome://inspect/ in Chrome
- Click
inspect in the target list
Expected behavior
I expect the code to break at the debugger line in ./add.js.
Actual behavior
The code did not break.
Additional context
Follow-up on #14085 (comment).
Environment
System:
OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (1) x64 Intel(R) Core(TM) i7-3612QM CPU @ 2.10GHz
Binaries:
Node: 20.5.1 - /usr/bin/node
npm: 9.8.0 - /usr/bin/npm
npmPackages:
jest: ^29.7.0 => 29.7.0