[英]Why my react native debugger is not working?
The react-native debugger was working perfectly fine for the very first time. react-native 调试器第一次工作得非常好。 But later on, when I opened my pc and tried to run my current project, the debugger was not working.但后来,当我打开我的电脑并尝试运行我当前的项目时,调试器无法正常工作。 I tried everything on my own up to the extent but was totally frustrated with this issue.我尽我所能尝试了一切,但对这个问题感到非常沮丧。 Cleared my node modules for several times, thought that the error was with the version of node and installed several old versions of node but all my efforts went on vain.多次清除我的节点模块,认为错误与节点版本有关并安装了几个旧版本的节点,但我所有的努力都是徒劳的。 At last, I am here seeking help from all the react-native experts out there.最后,我在这里寻求所有 react-native 专家的帮助。 Hope you will resolve my problem.希望你能解决我的问题。
I had a same issue yesterday and this fixed it for me.我昨天遇到了同样的问题,这为我解决了。 Just had to open the debugger first then run the app.只需要先打开调试器然后运行应用程序。
Fistly check if you have enabled the debugging mode in your app, if not then ctrl+m and enable 'remote JS debugging'.首先检查您是否在应用程序中启用了调试模式,如果没有,则 ctrl+m 并启用“远程 JS 调试”。 If your app is in debugging mode and still you cant find the debugger check all the tabs of your browser is open, it must be open somewhere (this happens in mac).如果您的应用程序处于调试模式并且仍然无法找到调试器,请检查浏览器的所有选项卡是否已打开,它必须在某处打开(这发生在 mac 中)。
Try to turn off and then turn on again wifi on your computer尝试关闭然后再次打开计算机上的 wifi
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.