mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
21c85ef52d
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