在Windows电脑上调试安装在iOS设备上的SAP UI5应用
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!
要获取更多Jerry的原创文章,请关注公众号"汪子熙":
相关文章
- SAP UI5 sap.ui.core.Element 的概要介绍
- 《吐血整理》进阶系列教程-拿捏Fiddler抓包教程(12)-Fiddler设置IOS手机抓包,你知多少???
- iOS小技能:设置状态栏背景颜色(图片)
- iOS 小技能:app嵌入H5页面的通用模版
- SAP UI5 sap.ui.base.ManagedObject 的构造函数参数讲解
- ios touchesBegan不触发
- 备份从android到ios系统文件,如何将音乐从安卓设备转移到iOS设备中「建议收藏」
- 关于iOS打包出现的两例常见问题
- iOS- 最全的真机测试教程
- 理解 iOS 的内存管理详解手机开发
- 100个iOS开发/设计面试题大全详解手机开发
- iOS应用内发送邮件详解手机开发
- IOS中获取各种文件的目录路径的方法详解手机开发
- iOS开发系列课程(06) — 常用控件介绍详解手机开发
- iOS开发证书管理详解手机开发
- ios基础:iOS改变状态栏字体颜色详解手机开发
- 深入比较:SAP vs Oracle(sap和oracle)
- MacOS 与 iOS:由浅入深的连接(macos和ios)
- Linux技术可以开发IOS系统?(linux能开发ios吗)
- SAP在Linux系统的安装与使用(sap安装linux)
- 让Linux开发iOS应用变得更简单(linux开发ios应用)
- iOS与Linux:新老技术的融合(ios与linux的关系)
- 苹果突发iOS/iPadOS14.7.1:修复Touch ID解锁问题
- 平台开发iOS开发:基于Linux平台的世界(ios基于linux)
- 应用Linux上编译IOS应用:实现跨平台体验(linux编译ios)
- 苹果扩大 iOS 15 等新系统测试范围
- 轻松下载Linux与iOS系统,享受高效的操作体验(linuxios下载)
- 深度比较:SAP vs Oracle(sap与oracle比较)
- 系统Oracle公司收购SAP系统开启新的商业时代(Oracle公司sap)
- Oracle和SAP技术比较优势和劣势(oracle与sap比照)
- 展望未来Oracle与SAP的合作结盟前景(oracle、sap)
- 聘请高级Oracle与SAP顾问,拓展业务潜力(oracle sap顾问)
- Oracle与SAP的技术潜力比较(oracle sap比较)