如何在Windows Phone上调试网站? [不是远程调试] [英] How to debug a website on Windows Phone? [not remote debug]

查看:122
本文介绍了如何在Windows Phone上调试网站? [不是远程调试]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名网络开发人员,希望在Windows Phone设备上调试网络应用/网站。有一种窗口,我可以看到javascript控制台,这将是很好的。

I am a web developer and would like to debug a webapp/website on a Windows Phone device. It would be neat to have some kind of window where I can see the javascript console.

我知道如何在Android(关于:debug)上获得控制台窗口iOS(开发者控制台),但我还没有想出如何在Windows Phone上。它是否可能,如果可能,怎么样?

I know how to get the console window on both Android (about:debug) and iOS (Developer console), but I have not yet figured out how on Windows Phone. Is it possibible, and if so, how?

编辑:

我要找的是 不是远程 调试。我在实际设备上寻找调试控制台

推荐答案

Windows Phone 7.5+(IE9) )和8(IE10)没有调试控制台,但可以通过 JSConsole <将其添加到您的网络应用程序中/ a> by Remy Sharp

Windows Phone 7.5+ (IE9) and 8 (IE10) doesn't have a debug console but it's possible to add it to your web app via JSConsole by Remy Sharp.

设置一个远程调试会话很直接。访问 jsconsole.com ,获取唯一的会话ID,将会话ID和JS片段添加到您的网络应用中,然后好好去。可以在网站上找到更详细的设置说明和视频

Setting up a remote debugging session is straight forward enough. Visit jsconsole.com, get a unique session ID, add the session ID and JS snippet to your web app and you're good to go. More detailed setup instructions and video can be found on the website.

尽管JSConsole说明没有明确提及Windows Phone支持,但多个网站 确认它有效

And although the JSConsole instructions doesn't explicitly mention Windows Phone support, a number of websites have confirmed it works.

提到其他可能有用的工具在之前的Stackoverflow问题上。

Other tools, which may also be of use, are mentioned on a previous Stackoverflow question.

更新: Internet Explorer 11(IE11)引入了一种新的仿真工具 wh ich允许本地(假设您正在运行Windows 8.1)测试和调试Windows Phone的网站。

UPDATE: Internet Explorer 11 (IE11) introduces a new emulation tool which allows local (assuming you're running Windows 8.1) testing and debugging of websites for Windows Phone.

这篇关于如何在Windows Phone上调试网站? [不是远程调试]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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