babel-node-debug
babel-node-debug copied to clipboard
Debugging es6 file does not pause on start
Loading the inspector requires "pausing" before I can hit "resume", which then pauses on first line with --debug-brk
option.
test.js
(function(b) {
let a = b+'!';
debugger;
})('test');
$ bode-debug --no-preload --cli --debug-brk test.js

Not a critical component, but a bit redundant to have to pause/resume instead of just resume from debug start.
Yes. It's super annoying. I don't know why that is, but the whole toolchain is rather obtuse.
I'm going to try and set the breakpoint through the front-end instead of V8's Debugging Protocol, so it functions more closely to a non-source-mapped file.