反应天然0.66-无法打开反应式示威,脚flaipter是默认的

发布于 2025-01-28 05:08:47 字数 306 浏览 2 评论 0原文

我已经升级为反应天然0.66。
我可以打开开发人员菜单,但现在的flipper是默认的选择。
我只有“打开调试器” - 张开的脚fl脚。
我有一个不再存在的“调试”选项。

我对脚fl虫有我无法解决的问题 - 我如何使用反应式调音?

I've upgraded to React Native 0.66.
I can open the developer menu but its seems the now flipper is the default choice.
I got only "Open Debugger" - which open Flipper.
I had a "Debug" option that no longer there.

I have issues with Flipper that I could not resolve -
How can I use react-native-debugger?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

饮惑 2025-02-04 05:08:47

似乎爱马仕是在我的Podfile中启用的 - 一旦我升级到0.66,它会迫使Flipper使用

Hermes_enabled => false在podfile中,运行pod install启用可以再次与react-native-debugger一起工作:

use_react_native!(:path => config["reactNativePath"], :hermes_enabled => false)

Seems that Hermes was enabled in my Podfile - once I upgraded to 0.66 it force the use of flipper

Doing hermes_enabled => false in Podfile and running pod install enable to work with react-native-debugger again:

use_react_native!(:path => config["reactNativePath"], :hermes_enabled => false)
魄砕の薆 2025-02-04 05:08:47

远程JavaScript调试必须使用NativedEvsetts模块手动启用。

import NativeDevSettings from 'react-native/Libraries/NativeModules/specs/NativeDevSettings';

function MyApp() {
  // Assign this to a dev-only button or useEffect call
  const connectToRemoteDebugger = () => {
    NativeDevSettings.setIsDebuggingRemotely(true);
  };
}

当调用NativedEvsetTings.setIsdebuggingRemotely(true)时,这将在http:// localhost:8081/debugger-ui上打开一个新标签。

有关更多访问此处的更多访问: https://reactnative.dev/dev/dev/dev/dev/dev/debugging-methods-method-methods-methods-methods-methodss- #setup

Remote JavaScript Debugging must be manually enabled using the NativeDevSettings module.

import NativeDevSettings from 'react-native/Libraries/NativeModules/specs/NativeDevSettings';

function MyApp() {
  // Assign this to a dev-only button or useEffect call
  const connectToRemoteDebugger = () => {
    NativeDevSettings.setIsDebuggingRemotely(true);
  };
}

When NativeDevSettings.setIsDebuggingRemotely(true) is invoked, this will open a new tab at http://localhost:8081/debugger-ui.

For more visit here : https://reactnative.dev/docs/other-debugging-methods#setup

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文