Proposing a nice debugging feature

somonek somonek at gmail.com
Wed May 3 12:59:46 UTC 2017


Hello,

not sure if it's been already proposed maybe, but I have this in mind

debugger(/* condition */);

to stop on conditional breakpoint.

Example:

debugger(typeof someVariable === 'undefined');

What do you think?


Be well,
Serghei


More information about the es-discuss mailing list