Expo SDK 48 上的 React Native 调试器

Ole*_*leg 5 debugging reactjs react-native react-native-debugger

我无法从 Android Studio< Expo SDK 48 运行 React Native 调试器。开发人员菜单中没有“调试远程 JS”项目,但我有“打开 JS 调试器”项目。当我选择它时,就会显示 Devtools。但在 React Native Debugger 中,我的设备未连接到端口 19000。

我阅读了文档并安装了许多库,但还没有工作。

Vla*_*min 3

同样的问题。我找到了这个解决方案,它对我有用

app.json 配置

"jsEngine": "hermes",
"ios": {
   "jsEngine": "jsc",
   "supportsTablet": true
},
Run Code Online (Sandbox Code Playgroud)

并使用npx expo start --localhost命令运行项目

来源: https: //github.com/jhen0409/react-native-debugger/issues/754#issuecomment-1469852938