2

我正在开发一个带有 Jest 测试的 React 应用程序。使用 IntelliJ 2017.2.x,我可以在测试中设置断点并单击调试按钮。当执行到达断点时,它停止了,我可以进行通常的调试。

但是,IntelliJ 2017.3.x 不再在我的断点处停止执行。调试控制台选项卡提供以下输出:

/usr/bin/node --inspect-brk=36941 --require /home/l/bin/idea-IU-173.3727.127/plugins/JavaScriptLanguage/helpers/jest-intellij/lib/jest-intellij-stdin-fix.js /home/l/devel/src/redacted --colors --testResultsProcessor /home/l/bin/idea-IU-173.3727.127/plugins/JavaScriptLanguage/helpers/jest-intellij/lib/jest-intellij-test-results-processor.js --testPathPattern ^/home/l/devel/src/redacted$ --testNamePattern "^redacted$"
Debugger listening on port 36941.
Warning: This is an experimental feature and could change at any time.
To start debugging, open the following URL in Chrome:
    chrome-devtools://devtools/bundled/inspector.html?experiments=true&v8only=true&ws=127.0.0.1:36941/291944a5-5f9a-4ee7-a5c1-551b5788d496
Debugger attached.

这是我的项目或 IDE 配置的问题吗?或者它是 IntelliJ 中的错误?

4

0 回答 0