Unable to debug JavaScript in IntelliJ 2017.3.x

390 views Asked by At

I am developing a React app with Jest tests. With IntelliJ 2017.2.x, I could set a break point in a test and click the debug button. When execution reached the break point, it stopped and I could do the usual debugging.

However, IntelliJ 2017.3.x does not stop execution at my breakpoints any more. The Debug Console tab gives the following output:

/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.

Is this a problem with my project or IDE configuration? Or is it a bug in IntelliJ?

0

There are 0 answers