node/lib/internal/debugger
Joyee Cheung dbc78ff825
debugger,test: deflake resume failure test and add debug logs
On slow CI, the outer Debugger.resume can be picked up in the
same drain pass as the Debugger.evaluateOnCallFrame, while V8
still considers the context paused. In this case both resume
calls may succeed and the process can continue running from
the setInterval until the timeout. Accept both probe failure
and timeout as valid to accommodate this flakiness.

This patch also adds more debug logs to the probe mode to
show more information in case it flakes again in the CI

Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/63524
Fixes: https://github.com/nodejs/node/issues/63505
Reviewed-By: Gürgün Dayıoğlu <hey@gurgun.day>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2026-05-27 11:35:49 +02:00
..
inspect.js debugger: add --help to node inspect and improve docs 2026-05-19 14:08:20 +02:00
inspect_client.js debugger: add edit-free runtime expression probes to node inspect 2026-05-05 16:19:31 +02:00
inspect_helpers.js debugger: disambiguate probe location binding 2026-05-19 14:08:23 +02:00
inspect_probe.js debugger,test: deflake resume failure test and add debug logs 2026-05-27 11:35:49 +02:00
inspect_repl.js