I want to debug my test using Velocity and Mocha, using breakpoints and REPL instead of console.logs.
For debugging my app code I can start my Meteor app with the NODE_OPTIONS='--debug'
flag, and then bind the debugger like node debug localhost:5858
. This doesn't work for the mirror, although its log says debugger listening on port 5858
(both main app and mirror logs say that).
How can I debug it?