Your live iOS simulator in a VS Code side panel. Cmd+click a React Native component to open its source.
No changes to your app are needed.
Click / drag / scroll / type: drives the app
Cmd+hover: highlights the view under the pointer
Cmd+click: opens the file and line where the component is used
Cmd+Shift+click: choose from the parent chain
Inspect button: the same as holding Cmd
Chain list: click opens the usage, Alt+click opens the component's definition file
Getting started
Boot an iOS simulator and run your React Native or Expo dev build with Metro.
Open the app's project folder in VS Code.
Run RN Inspector: Open Simulator Panel from the Command Palette.
If Metro uses an unusual port, add it to the rnInspector.metroPorts setting.
Requirements
macOS on Apple Silicon, with Xcode
A booted iOS simulator in portrait
A dev build on the New Architecture with React 19 (release builds have no source information)
Android is not supported.
Development
npm test: unit tests
npm run test:vscode: end to end in an isolated VS Code (needs an app running; read-only)
npm run inspect -- 0.5,0.3: inspect a point from the terminal
npm run harness: the panel in a browser on port 3478
npm run package: build the .vsix
How it works
Metro's debugger connection evaluates a read-only lookup in the app, which hit-tests the Fabric tree and reads each
component's creation stack. Metro's /symbolicate turns those into source positions. Everything runs on your Mac.