bode

babel-node replacement using babel-register, but transparently (argument untouched)

Usage no npm install needed!

<script type="module">
  import bode from 'https://cdn.skypack.dev/bode';
</script>

README

bode

Like babel-node, except using babel-register so --debug-brk breaks on the actual first line of code, not babel-node's first line of code:

Install

npm install -g bode

Use

Use it transparently like node to debug using --inspect in v6.4+:

# breaks on first line of foo.js
bode --inspect --debug-brk foo.js