Reputation: 101
I am trying to debug my intern test using node inspector. I followed all the steps correctly from here. I gave it a run by performing the following command
Run the intern test in node environment
C:\node\node --debug-brk node_modules/intern/runner.js config=tests/intern
In another cmd I run the node inspector
node-inspector --web-port=9999 &
Start the browser
I can see all the script of my project. I have break point set in one of the test component. But the moment I resume the debugger the test start running but the breakpoint is never hit. What am I doing wrong ?
Upvotes: 0
Views: 204
Reputation: 1138
I think you should add debugger;
into your script as a break point
Upvotes: 0