ReactNative debug in Chrome 不能连接Chrome调试问题 (iOS)
2017-12-20 16:54
651 查看
解决IOS平台下,Debug JS Remotely出错(连接不上chrome)的问题,
PS:坑爹的百度,就是搜索不到我需要的信息,墙了google立刻就搜索到解决方案了。
参考文章:
https://wenku.baidu.com/view/a982111aaeaad1f347933f40
下面Mark一下:
1. 通过Xcode运行debug模式,进入apple的simulator,这个都能正常进入
2. chrome浏览器能够进入:http://localhost:8081/debugger-ui/,并且安装了react developer tools插件
如果想要访问google,可以安装谷歌访问助手插件
2.
3. 在模拟器里选择Debug JS Remotely出错:Runtime is not ready for debugging....
问题出在:host用了localhost,而不是具体IP,只要把localhost改为具体IP地址就可以了
在项目中搜索 RCTWebSocketExecutor,在文件 RCTWebSocketExecutor.m中找到localhost定义的地方改成具体的IP,重新运行项目就可以
PS:坑爹的百度,就是搜索不到我需要的信息,墙了google立刻就搜索到解决方案了。
参考文章:
https://wenku.baidu.com/view/a982111aaeaad1f347933f40
下面Mark一下:
1. 通过Xcode运行debug模式,进入apple的simulator,这个都能正常进入
2. chrome浏览器能够进入:http://localhost:8081/debugger-ui/,并且安装了react developer tools插件
如果想要访问google,可以安装谷歌访问助手插件
2.
3. 在模拟器里选择Debug JS Remotely出错:Runtime is not ready for debugging....
问题出在:host用了localhost,而不是具体IP,只要把localhost改为具体IP地址就可以了
在项目中搜索 RCTWebSocketExecutor,在文件 RCTWebSocketExecutor.m中找到localhost定义的地方改成具体的IP,重新运行项目就可以
相关文章推荐
- chrome不能调试断点的问题
- 关于iOS5 + XCode4.2环境下iPhone3G和3Gs + iOS4.2.1不能调试的问题解决方案整理
- 关于iOS5 + XCode4.2环境下iPhone3G和3Gs + iOS4.2.1不能调试的问题
- 微信开发之调试 2017-07-10 (含部分 chrome移动调试不能连接手机内容)
- react-native 部分手机二维码扫面页面黑屏的问题(不能使用相机)
- 集成 jpush-react-native 常见问题汇总 (iOS 篇)
- Domain=NSOSStatusErrorDomain Code=1937337955 关于iOS录音AVAudioRecorder与音频播放AVAudioPlayer真机调试录音不能播放的问题
- IOS-React-Native:unable to find utility "instruments", not a developer tool or in PATH
- React-Native iOS真机调试(新版)
- 集成 jpush-react-native 常见问题汇总 (iOS 篇)
- react-native+vm+macos X+ios 真机调试
- windbg 虚拟机双机调试win7不能连接问题
- 通过QT_DEBUG_PLUGINS调试连接PostgreSQL/MySQL时driver not loaded问题
- React-native-ios真机调试步骤
- react-native-router-flux popTo('想pop到的scene') 回退多级不能实现问题
- 64 位win 7或windows 8下的visual studio不能连接Oracle数据库调试网站的问题
- [原创]如何打开chrome react native developer debug and monitor the react native simulator
- Delphi XE Seattle update1 调试iOS 9.3程序时,不能用真机调试的问题
- 集成 jpush-react-native 常见问题汇总 (iOS 篇)
- React Native:真机断点调试+跨域资源加载出错问题解决