A framework for building native applications using React
batch debug logging for cdp messages (#49726)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49726 The `InspectorProxy` debug logging became incredibly spammy making it almost unuseful unless the output is manipulated so this commit batches all these cdp messages and only desplays how many were received in the span of 5s. If no messages are received, the throttle is not triggered. To get the actual CDP messages logged, we still log these to `Metro:InspectorProxyCDPMessages`. Changelog: [General][Internal] batch debug logging for cdp messages Reviewed By: robhogan Differential Revision: D70324724 fbshipit-source-id: a269302f52e18af6c4be651758c042596abdbad8
V
Vitali Zaidman committed
21c85ef52d22fa000fb14d75f2ff3c418db32fda
Parent: 42a7c62
Committed by Facebook GitHub Bot <[email protected]>
on 3/3/2025, 9:49:39 AM