Skip to content

Instantly share code, notes, and snippets.

@staltz staltz/

Last active Oct 26, 2017
What would you like to do?
How to debug Mocha tests written in Babel, running only in Node.js

Run this in one shell

./node_modules/.bin/mocha --debug-brk --compilers js:babel-register test/node

Then this in another shell


Then open the browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.