node/lib/internal/debugger
Joyee Cheung 8c4ec8a674
debugger: add --max-hit option to probe mode
This option provides a new way of terminating the probing by
specifying a limit for the per-probe hit evaluation. When any
probe reaches the limit, the session removes the V8 breakpoints
and finishes with a `completed` terminal event rather than waiting
for the target to exit or timeout. This would be useful when we
provide a way to attach to and probe a running process in the future.

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63704
Refs: https://github.com/nodejs/node/issues/63646
Reviewed-By: Jan Martin <jan.krems@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-06-13 20:50:15 +00:00
..
inspect.js debugger: add --max-hit option to probe mode 2026-06-13 20:50:15 +00:00
inspect_client.js debugger: add edit-free runtime expression probes to node inspect 2026-04-19 15:59:10 +00:00
inspect_helpers.js debugger: add --max-hit option to probe mode 2026-06-13 20:50:15 +00:00
inspect_probe.js debugger: add --max-hit option to probe mode 2026-06-13 20:50:15 +00:00
inspect_repl.js debugger: fix behavior of plain object exec in debugger repl 2025-03-18 19:30:31 +00:00