是否可以检查Meteor / Cordova iOS应用程序?

时间:2022-02-03 15:46:05

I came across this article detailing how to debug an Android Cordova app using Chrome's developer tools. Considering an iOS app is also built on webkit is it possible to use a modern browser's developer tools to inspect a Meteor + Cordova app built and installed onto iOS and if so, how would one go about doing this?

我在本文中详细介绍了如何使用Chrome的开发人员工具调试Android Cordova应用程序。考虑到iOS应用程序也建立在webkit上,是否可以使用现代浏览器的开发人员工具来检查构建并安装到iOS上的Meteor + Cordova应用程序,如果是这样,那么如何才能实现这一目标呢?

1 个解决方案

#1


0  

It is indeed very easy to debug an app built with Meteor and Cordova using Safari's dev tools. The way I did it is to run the meteor run ios command to start your app in the iOS simulator. After that all I had to do was, making sure that the developer console was enabled in Safari settings, go to the Develop tab in Safari and pick my app from the Simulator device menu.

使用Safari的开发工具调试使用Meteor和Cordova构建的应用程序确实非常容易。我这样做的方法是运行meteor run ios命令在iOS模拟器中启动你的应用程序。之后,我所要做的就是确保在Safari设置中启用了开发人员控制台,转到Safari中的“开发”选项卡,然后从“模拟器”设备菜单中选择我的应用程序。

#1


0  

It is indeed very easy to debug an app built with Meteor and Cordova using Safari's dev tools. The way I did it is to run the meteor run ios command to start your app in the iOS simulator. After that all I had to do was, making sure that the developer console was enabled in Safari settings, go to the Develop tab in Safari and pick my app from the Simulator device menu.

使用Safari的开发工具调试使用Meteor和Cordova构建的应用程序确实非常容易。我这样做的方法是运行meteor run ios命令在iOS模拟器中启动你的应用程序。之后,我所要做的就是确保在Safari设置中启用了开发人员控制台,转到Safari中的“开发”选项卡,然后从“模拟器”设备菜单中选择我的应用程序。