react native远程调试js(无法打开)

解决方案一:

因为chrome inspect需要加载 https://chrome-devtools-frontend.appspot.com 上的资源,所以需要FQ。

GoogleChrome/ADBPlugin#14

解决方案二:

编辑hosts文件,添加:

61.91.161.217 chrome-devtools-frontend.appspot.com

61.91.161.217 chrometophone.appspot.com

74.125.25.141 chrome-devtools-frontend.appspot.com

解决方案三:

chrome://appcache-internals/#

remove all

enjoy it

尝试一下chrome://appcache-internals/#清除一下这里的缓存


修改host文件:

bash 复制代码
#react native 调试请求国外的链接
61.91.161.217    chrome-devtools-frontend.appspot.com
61.91.161.217    chrometophone.appspot.com

参考链接:

https://www.cnblogs.com/hz-blog/p/10591932.html

https://chat.xutongbao.top/

相关推荐
whinc6 小时前
JavaScript技术周刊 2026年第18周
javascript
whinc6 小时前
JavaScript技术周刊 2026年第17周
javascript