Skip to content

debugger: add debugger alias for exec(expr)#41907

Merged
nodejs-github-bot merged 3 commits intonodejs:masterfrom
meixg:debugger
Feb 17, 2022
Merged

debugger: add debugger alias for exec(expr)#41907
nodejs-github-bot merged 3 commits intonodejs:masterfrom
meixg:debugger

Conversation

@meixg
Copy link
Copy Markdown
Member

@meixg meixg commented Feb 9, 2022

#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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. debugger Issues and PRs related to the debugger subsystem. needs-ci PRs that need a full CI run. review wanted PRs that need reviews.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants