I'm currently facing an issue with debugging my Mocha test in IntelliJ 13.1.4. I have inserted breakpoints in my test/test.js
file to help with the process.
Upon checking my Node.js
Run/Debug Configurations
, I have ensured that the Node interpreter
is correctly set and the Working directory
is directed to my project root.
The specified JavaScript file
to execute is ./node_modules/.bin/mocha
.
Even after clicking on the "Debug" button, my test runs as expected but the breakpoints I set are being disregarded. Can anyone shed some light on why this might be happening?