# React Native Debugger

适用于 macOS 的独立 React Native 调试器，集成 React Inspector、Redux DevTools 和 Apollo Client DevTools。

> 这是 OpenNavo 上 React Native Debugger 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/react-native-debugger>

- **最新版本**: `0.14.0`
- **开发者**: Jhen
- **主页**: <https://github.com/jhen0409/react-native-debugger>
- **分类**: [开发工具](https://opennavo.com/zh/categories/developer-tools)
- **安装**: `brew install --cask react-native-debugger`
- **近 30 天安装**: 54
- **Homebrew**: Homebrew 仍提供，OpenNavo 已暂停推荐
- **下载地址**: <https://github.com/jhen0409/react-native-debugger/releases/download/v0.14.0/rn-debugger-macos-universal.zip>
- **SHA-256**: `3be2e2b0d0fdac91f77905bbdcb835316ef8995aec1de91f55838cf0a8da6625`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "app": [
        "React Native Debugger.app"
      ],
      "target": "/Applications/React Native Debugger.app"
    },
    "phase": "install",
    "sources": [
      "React Native Debugger.app"
    ],
    "target": "/Applications/React Native Debugger.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Preferences/com.electron.react-native-debugger.plist",
            "~/Library/Saved Application State/com.electron.react-native-debugger.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

React Native Debugger 是一款用于调试 React Native 应用的 macOS 独立应用。它基于 React Native 的 Remote Debugger，并在同一应用中提供多种开发工具。

- 集成基于 `react-devtools-core` 的 React Inspector。
- 提供与 `redux-devtools-extension` API 兼容的 Redux DevTools。
- 将 Apollo Client DevTools 作为开发者工具扩展集成。

安装此 Homebrew Cask，请运行 `brew install --cask react-native-debugger`。Homebrew 会将 `React Native Debugger.app` 安装到 `/Applications`。

此应用目前支持较旧的 React Native Remote Debugger，不支持 Hermes、JSI 或 New Architecture 等较新的调试方案。项目的兼容性说明建议将 React Native Debugger `0.11` 及更高版本与 `react-native` `0.62` 及更高版本搭配；`0.10` 及更早版本则与 `react-native` `0.61` 及更早版本搭配。

来源：[项目文档](https://github.com/jhen0409/react-native-debugger) · [Homebrew Cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/r/react-native-debugger.rb)

## 系统要求

- 适用于 macOS 27, 26, 15, 14, 13, 12, 11 的版本 · 应用版本: 0.14.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/react-native-debugger.rb> · 核查于 2026-12-06
  - <https://github.com/jhen0409/react-native-debugger/releases/download/v0.14.0/rn-debugger-macos-universal.zip>
  - SHA-256: `3be2e2b0d0fdac91f77905bbdcb835316ef8995aec1de91f55838cf0a8da6625`
- 适用于 macOS 27, 26, 15, 14, 13, 12, 11 的版本 · 应用版本: 0.14.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/react-native-debugger.rb> · 核查于 2026-12-06
  - <https://github.com/jhen0409/react-native-debugger/releases/download/v0.14.0/rn-debugger-macos-universal.zip>
  - SHA-256: `3be2e2b0d0fdac91f77905bbdcb835316ef8995aec1de91f55838cf0a8da6625`

## React Native Debugger 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/jhen0409/react-native-debugger> · 是否开源: 是 — <https://github.com/jhen0409/react-native-debugger> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask react-native-debugger`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask react-native-debugger`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Preferences/com.electron.react-native-debugger.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/react-native-debugger.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-06；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Saved Application State/com.electron.react-native-debugger.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/react-native-debugger.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-06；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 0.14.0 (2023-07-31)

新增表单中的 Enter 键处理和 Linux 对 rndebugger: URI scheme 的支持，更新内置开发工具；Open in Editor 不再检查主机。

**功能**

- 处理表单中的 Enter 键按下事件。
- 新增 Linux 对 rndebugger: URI scheme 的支持。
- 新窗口默认使用 RN packager 端口 19000。

**开发工具**

- 将 Electron 升级到 v25，并更新相关依赖。
- 更新 react-devtools-core、redux-devtools 和 apollo-client-devtools。
- 修复 source map 警告。

**修复**

- Open in Editor 不再检查主机。
- Hermes、JSI 和 New Architecture 支持计划在 v0.15 推出。

## 资料与来源

- <https://opennavo.com/zh/apps/react-native-debugger>
- <https://opennavo.com/zh/apps/react-native-debugger/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/r/react-native-debugger.rb> · 核查于 2026-12-06
- <https://formulae.brew.sh/cask/react-native-debugger>
- <https://github.com/jhen0409/react-native-debugger> · 核查于 2026-11-13
