Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuguang Mei <meixg@foxmail.com>2022-02-17 22:23:20 +0300
committerGitHub <noreply@github.com>2022-02-17 22:23:20 +0300
commit7d75e3f5420ecc41784ea9d3409c405dad756a37 (patch)
treea756d167ce872e739d7156bc2d71306466efa6b4 /doc/api/debugger.md
parent4829f85233bda8732e1dbed25fabed7dee0d4eab (diff)
debugger: add debugger alias for exec(expr)
https://github.com/nodejs/node/issues/41794 PR-URL: https://github.com/nodejs/node/pull/41907 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc/api/debugger.md')
-rw-r--r--doc/api/debugger.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/api/debugger.md b/doc/api/debugger.md
index 2bfb08771df..8c91a10ddd8 100644
--- a/doc/api/debugger.md
+++ b/doc/api/debugger.md
@@ -197,7 +197,8 @@ debug>
* `watchers`: List all watchers and their values (automatically listed on each
breakpoint)
* `repl`: Open debugger's repl for evaluation in debugging script's context
-* `exec expr`: Execute an expression in debugging script's context
+* `exec expr`, `p expr`: Execute an expression in debugging script's context and
+ print its value
### Execution control