Skip to content

debugger: add debugger alias for exec(expr)

Rodrigo Muino Tomonari requested to merge github/fork/meixg/debugger into master

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

Merge request reports

Loading