rn-cdp-bridge - Bridge RN 0.77+ logs and network requests via CDP WebSocket
A runbook to restore console logs, monitor network requests, and debug crashes in React Native 0.77+ using Chrome DevTools Protocol (CDP) WebSocket.
Tags
Updated: 2026-09-18Capabilities
What this skill does
- Discover CDP targets via InspectorProxy
- Stream logs and network via WebSocket
- Switch release crash to debug build
- Capture console errors and runtime exceptions
Inputs
- Metro server port
- CDP WebSocket target URL
- Debug APK package
- cdp-console.mjs script path
Outputs
- Terminal-streamed console logs
- Terminal-streamed network request events
- Captured error stacks and exceptions
Requirements
- React Native 0.77+
- Hermes JS Engine
- Node.js 18+
- Android Debug Bridge (adb)
