@saptools/cf-inspector 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -0
- package/dist/cli.js +365 -117
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,15 @@ Built so an AI agent (or a CI job) can drive a debugger from a single shell comm
|
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
+
> **Debug-session safety:** only one local `cf-inspector` process may actively
|
|
20
|
+
> debug a given target at a time. Concurrent CDP debugger clients can receive
|
|
21
|
+
> the same pause and race `Debugger.resume`, disrupting the target and real
|
|
22
|
+
> application traffic. A second local invocation now fails before connecting
|
|
23
|
+
> with `TARGET_ALREADY_DEBUGGED`; wait for the named owner process to finish.
|
|
24
|
+
> Locks left by dead processes are reclaimed automatically. Debuggers running
|
|
25
|
+
> on another machine or outside `cf-inspector` cannot be detected by this local
|
|
26
|
+
> guard and must still be coordinated operationally.
|
|
27
|
+
|
|
19
28
|
## ✨ Features
|
|
20
29
|
|
|
21
30
|
- 🎯 **One-shot snapshot** — `cf-inspector snapshot --bp src/handler.ts:42` sets the breakpoint, waits for it to hit, captures requested expressions, auto-resumes, prints JSON, exits
|