如何在Windows上的React Native中查看网络请求(用于调试)?
我在这个主题上找到了很多答案 示例,但它们都是关于Mac OS,我想查看React本机中的网络请求,以帮助我调试 Windows 。我该怎么做?
I found a lot of answers on this topic
example but they were all about Mac Os, I would like to view my network requests in React Native to help me debug Windows. How can i do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用此lib https://github.com/jhen04040409/react-native-debugger
右键单击并选择“启用...” - >选择“网络”选项卡。请记住要在模拟器上启用调试js
单击此处查看图像
You can use this lib https://github.com/jhen0409/react-native-debugger
Right-click and choose "Enable ..." -> Select "Network" tab. Remember to enable debug JS on your simulator
Click here to view image