debugger: add debugger alias for exec(expr)
https://github.com/nodejs/node/issues/41794
we can now use p expr
and p(expr)
:
Break on start in test.js:1
> 1 const a = 1;
2 console.log(a);
debug> n
break in test.js:2
1 const a = 1;
> 2 console.log(a);
debug> p a
1
debug> p('a')
1
debug>
if this is ok, i will add test and change docs.
@jkrems