使用 PC 调试 ipad Safari [英] Debug ipad safari with a PC

查看:52
本文介绍了使用 PC 调试 ipad Safari的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 ipad 上的 Safari 上测试我的网站.我只有另一台电脑.有没有办法让我像 ADB 一样使用移动 Chrome 进行远程调试?我在 StackOverflow 上搜索,似乎有一个 Adob​​e Edge Inspect CC,但我不知道这是否是一个不错的选择.

I want to test my website on Safari on my ipad. I only have another PC. Is there a way for me to do remote debugging like ADB with mobile Chrome? I searched on StackOverflow, seems there is an Adobe Edge Inspect CC, but I don't know if this is a good choice.

谢谢!

推荐答案

2018 更新:

自原帖以来,博文已死&Telerik App Builder 已停产,不再提供.添加此更新以通知读者,以防他们未阅读此回答帖子后面的用户评论.至于博客文章,对于那些仍然感兴趣的人,这里有一个 网络缓存副本.关于博客,我认为博客所在的公司已经关闭了.

Since the original post, the blog post is dead & Telerik App Builder is discontinued and no longer offered. Adding this update to inform readers in case they don't read the user comments that follow this answer post. As for the blog post, for those still interested, here's a web cached copy. Regarding the blog, I think the company that blog's from has since shut down.

当我有机会时,我会看看我是否保存了应用构建器的副本,以便我可以将其发布到网上,供那些仍然有兴趣使用它的人使用,也许还会附上博客文章的另一个缓存副本.

When I get a chance, I'll see if I have a copy of the app builder saved so that I can post it online for those still interested in using it, along with another cached copy of the blog post maybe.

原答案

在远程调试时,您可以尝试使用 Telerik AppBuilder(Windows 客户端)作为 Mac 上 Safari 调试器的替代品.在下面的链接中有一篇很好的博客文章,介绍了执行此操作的步骤.我宁愿不重新发布信息,因为也有截图,而且有很多文字.但本质上,您安装应用程序,打开它,通过 USB 连接设备,然后您可以在应用程序中找到它并为其打开开发人员工具/调试器.对于非公共网站,您必须使用帖子中记录的一些防火墙配置打开端口 80.

You can try option of using Telerik AppBuilder (Windows client) as a replacement on Windows for Safari debugger on Mac when remote debugging. There's a nice blog post about the steps to do it in link below. I'd rather not repost the info as there are also screenshots and it's a lot of text. But essentially, you install app, open it, connect device via USB, then you can find it in the app and open up the developer tools/debugger for it. For non-public websites, you'll have to open up port 80 with some firewall configs documented in the post.

http://blog.falafel.com/Blogs/josh-eastburn/2014/03/04/ios-web-inspector-on-windows-with-telerik-appbuilder

该工具需要许可证,或者您可以使用试用版,之后它将成为基础版.我认为基本版仍然可以让您进行调试.我要自己试试.

The tool requires a license or you can use the trial, which becomes a basic edition afterwards. I think the basic edition will still allow you to do the debugging. I'm going to try it out myself.

您也可以尝试这些 iOS 应用,您可以在 iTunes 应用商店中找到它们.它们为您提供了移动 Safari 不提供的内置开发者工具功能(在 iOS 上,无需远程调试).

You can also try these iOS apps too, you can find them in the iTunes App store. They give you a built in developer tools feature (right on iOS no remote debug) that mobile Safari doesn't offer.

MIH 工具 - 基础版https://itunes.apple.com/us/app/mihtool/id584739126?ls=1&mt=8

MIH Tool - basic edition https://itunes.apple.com/us/app/mihtool/id584739126?ls=1&mt=8

HTTPWatch 基础https://itunes.apple.com/us/app/httpwatch-basic-http-sniffer/id658886056?mt=8

HTTPWatch Basic https://itunes.apple.com/us/app/httpwatch-basic-http-sniffer/id658886056?mt=8

我尝试了它们,它们至少比您在 iOS 上获得的移动 Safari 更好,除非需要完全兼容移动 Safari.我猜这些应用的专业版/付费版会为您提供更多/更好的功能.

I gave them a try and they're at least better than the mobile Safari you get on iOS, unless one needs to target full mobile Safari compatibility. I'm guessing the pro/paid editions of those apps give you more/better features.

这篇关于使用 PC 调试 ipad Safari的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆