速冻饺子
速冻饺子
Working on this - will submit a PR soon.
I've submitted a PR series implementing basic `node:inspector` support: - #25643 [1/4]: internal/debugger programmatic control - #25644 [2/4]: `open()`, `close()`, `url()`, `waitForDebugger()` - #25645 [3/4]: `inspector.Session` CDP support - #25646...
Addressed the feedback: - Added comment documenting lock requirement for `nodeInspectorSignalDone` - Extracted `stopActiveDebugger()` helper to reduce duplication - Simplified `waitForDebugger()` call to `open(true as any)` - Use `using` for...
Fixed: - Race condition: use `std::call_once` for agent registration - Memory leak: changed to `JSDestructibleObject` with destructor that cleans up session - Unsafe cast: added `inherits()` check before `jsCast`
Addressed the feedback: - Added comment documenting lock requirement for `nodeInspectorSignalDone` - Extracted `stopActiveDebugger()` helper to reduce duplication - Simplified `waitForDebugger()` call to `open(true as any)` - Use `using` for...