openclaw-node-inspect-debugger
Node Inspect Debugger
Codex adaptation of the pinned OpenClaw source. Repository-specific commands apply only to a verified OpenClaw checkout; portable debugger commands apply to their selected process.
Reach the failing frame
Choose the smallest reproduction first. Prefer node inspect path/to/script.js; for TypeScript use the project's existing TS loader with --inspect-brk. Debug one test file with one worker and the owning repository wrapper. Inspect current Node/tool help before relying on version-sensitive flags.
Read the packaged source for inspector REPL commands, breakpoints, source maps, scripted CDP, CPU profiles and heap snapshots. Confirm PID, process owner, exact code and inspector target before attaching to a running process. Signalling or injecting a debugger into a shared process requires the applicable owner authorization; a debugging skill grants none.
Bind inspector ports to loopback, select distinct ports for distinct targets, and do not expose a debugging endpoint or install CDP tooling implicitly. Reuse an existing dependency when suitable. Keep profiles and potentially private heap captures in task-owned storage and out of public diffs.
After the session, resume a process that should continue, release only owned resources, remove temporary breakpoints from intended changes, and rerun the normal failing command without the debugger. Report the reproduced boundary, captured evidence, fix and normal proof; an inspector connection alone is not a repaired bug.
Selective installation
No mandatory installed companion from this pack is required. Checkout/runtime prerequisites and the conditional source references still apply.