From a79e224eb2bdf4c1baee96e8e5ac413c0880d0ef Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sun, 19 Apr 2026 16:59:10 +0100 Subject: [PATCH] debugger: add edit-free runtime expression probes to `node inspect` Add a non-interactive probe mode to `node inspect` for inspecting runtime values in a run-to-completion application. This allows users to perform printf-style debugging without having to modify the application code and clean up afterwards, it also supports structured output to be consumed by tools. Probe mode launches the application, sets one or more source breakpoints, evaluates one expression at each hit, and prints a single text or JSON report when execution ends. Interface: node inspect [--json] [--preview] [--timeout=] [--port=] --probe :[:] --expr ... [--]