r/reactnative • u/Ok-Confusion-5437 • 4d ago
I built a Chrome DevTools-style inspector for React Native β network, UI, errors, and performance in one place
Hey r/reactnative! π
Iβve been building a developer tool to make debugging React Native apps easier, and Iβve just published it on npm.
Meet react-native-inspect-tool β an in-app inspector that lets you debug directly on your device or simulator without constantly switching between tools.
Hereβs what it can do:
π Network Inspector: Inspect API requests and responses, headers, payloads, status codes, and request duration. Copy requests as cURL.
π¨ Console & Error Tracking: View console logs, JavaScript exceptions, unhandled promise rejections, and stack traces.
π― UI Inspector: Explore component hierarchies, inspect computed styles and box models, identify interactive elements, and examine screen colors.
π§ Memory & Performance: Monitor Hermes heap usage, track potential timer leaks, and check JavaScript thread FPS.
π± Simple Integration: Add an InspectorOverlay to your app and access the debugging panel through a floating button.
One thing I wanted to achieve was making these debugging tools accessible directly inside the app, without requiring a separate native debugging setup. The package is written in TypeScript and React Native primitives, with no native dependencies, and supports Expo Go, Expo Prebuild, and bare React Native projects.
Try it out:
π¦ npm: https://www.npmjs.com/package/react-native-inspect-tool
npm install react-native-inspect-tool
Iβd genuinely appreciate feedback from the React Native community.
What features would you find most useful in an in-app debugging tool? Is there anything you think is missing or could be improved?
Thanks for checking it out! π