前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >在Windows电脑上调试安装在iOS设备上的SAP UI5应用

在Windows电脑上调试安装在iOS设备上的SAP UI5应用

作者头像
Jerry Wang
发布2020-08-31 10:37:54
5670
发布2020-08-31 10:37:54
举报

It is possible to debug a UI5 application running on an iOS device with a windows laptop.

Suppose I have deployed my UI5 application to SAP cloud platform: https://jerrylist.cfapps.eu10.hana.ondemand.com/ui5/.

Now I launch this application in my iPad:

And I would like to debug this UI5 application which is running on iPad with my windows laptop. Here below are detailed steps:

(1) install iTunes https://www.apple.com/cn/itunes/download/ so that your iOS device could be recognized by your windows laptop. (2) Switch on “Web Inspector” in iPad->Settings->Advanced.

(3) Download ios-webkit-debug-proxy-win32 from github.

Extract the .zip file to a folder in your laptop and add this folder to Path environment variable.

(4) Open windows command prompt, type the following command, and you can see that the iPad is successfully connected.

ios_webkit_debug_proxy.exe -f chrome-devtools://devtools/bundled/inspector.html

Access http://localhost:9221, and my iOS device is listed here:

Click the hyperlink “localhost:9222”, then the active Safari page which displays my UI5 application is listed there:

Click the hyperlink, and Chrome development tool window is opened automatically. Now it is ready to debug – for example press the “approve” button in my iPad, and the breakpoint set in the corresponding event handler in my laptop is triggered. Happy debugging!

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-08-29 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档