Tizen Web SDK:如何远程监视手表(Galaxy)上运行的Web应用程序(Web检查器)?

时间:2019-01-26 21:31:58

标签: tizen tizen-web-app tizen-studio

我想知道如何(甚至有可能)远程调试用Web SDK编写的在Samsung Galaxy Watch上运行的应用程序?

我能够:

  • 使用设备管理器连接到手表(显示日志等)
  • 在手表上安装并运行该应用
  • 在手表模拟器中调试一个应用程序(这样我就可以确认Javascript调试器正在运行)

当我尝试在手表本身上调试时:

...但是Chrome页面为空白。重新加载页面没有影响,仍然保持空白。

谷歌搜索我发现很少。该论坛帖子(https://developer.tizen.org/forums/web-application-development/web-inspector-not-working-remote-device?langswitch=en)描述了相同的问题,但答案没有用:提供的链接显示了如何运行应用程序(有效),而不是远程调试方式。

任何帮助将不胜感激。在这一点上,我不确定是否有可能。

Watch正在运行Tizen 4.0.0.1,并使用Tizen Studio 3.0。

3 个答案:

答案 0 :(得分:3)

经过大量搜索,我发现这篇文章Chrom devtools insepctor showing blank white screen while debugging with Samsung TV Tizen Web application

可以解决Chrome DevTools的Blank问题。

基本上

  • 创建文件夹c:\Temp(如果尚不存在)
  • 转到窗口>首选项> Tizen Studio>网络> Chrome->其他参数
  • 添加--enable-blink-features=ShadowDOMV0 --enable-blink-features=CustomElementsV0 --user-data-dir=c:\Temp

答案 1 :(得分:0)

我过去也有类似的问题。我注意到,自版本54开始以来,Chrome阻止了某些进程,并且“控制台”选项卡为空白。我发现jakubkozlowsk@hotmail.com准备了扩展名Tizen Console Fix来解决此问题。我开始使用它,它对我有帮助

答案 2 :(得分:0)

我之前也遇到过同样的问题。 我已解决了此论坛的HyunJun Jung的回答。 https://developer.tizen.org/forums/web-application-development/web-inspector-not-working-remote-device?langswitch=en

enter image description here

enter image description here

enter image description here

enter image description here