Debugging Jest test cases using node-inspector
Looks like the issue is that jest is using harmonize, which spawns a child process to ensure that the –harmony option is used. harmonize/harmonize.js, lines 30-35 var node = child_process.spawn(process.argv[0], [‘–harmony’].concat(process.argv.slice(1)), {}); node.stdout.pipe(process.stdout); node.stderr.pipe(process.stderr); node.on(“close”, function(code) { process.exit(code); }); I was able to successfully debug jest tests (although tests that use JSX transforms are incredibly … Read more