专栏首页Jerry的SAP技术分享在Windows电脑上调试安装在iOS设备上的SAP UI5应用

在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!

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • SAP Analytics Path Framework的filter实现原理分析

    I am recently doing self study on Analytics Path Framework and as a beginner I h...

    Jerry Wang
  • 如何通过Chrome直接创建Opportunity的文本

    Since we need to use HTTP post for note creation, it is necessary to get a CSRF ...

    Jerry Wang
  • 如何通过Chrome直接创建Opportunity的文本

    Since we need to use HTTP post for note creation, it is necessary to get a CSRF ...

    Jerry Wang
  • SAP Analytics Path Framework的filter实现原理分析

    I am recently doing self study on Analytics Path Framework and as a beginner I h...

    Jerry Wang
  • 腾讯副总裁Brent Irvin:创新和规制

    11月23日-24日,“2015北大-牛津-斯坦福互联网法律与政策研讨会”在牛津大学召开,腾讯公司副总裁、总法律顾问Brent Irvin (艾文博)致辞并...

    腾讯研究院
  • CRM PRODUCT_MAT, BDOC和customer product id修改

    Product HT-1055 is downloaded from ERP. When you make changes in CRM for example...

    Jerry Wang
  • Part 1 Kindness is more important than wisdom

    As a kid, Ispent my summers with my grandparents on their ranch in Texas. 小时候,我...

    RtyXmd
  • git练习之二 - version revert

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

    Jerry Wang
  • 如何分析SAP UI5应用的undefined is not a function错误

    Recently I meet with an annoying Javascript error “undefined is not a function” ...

    Jerry Wang
  • 错误消息sales area is not assigned for the header product

    When I try to download customer material info record from ERP, I meet with this ...

    Jerry Wang

扫码关注云+社区

领取腾讯云代金券