From 4278d22411e5ec539edcef705f51a500d843da97 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sun, 12 Apr 2026 20:17:06 +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 ... [--]