Skip to content

Commit

Permalink
chore(doc): update debug guide docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iPel authored and hippy-actions[bot] committed Nov 3, 2023
1 parent 99c5063 commit 740c5fe
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
Binary file added docs/assets/img/device-ctrl.webm
Binary file not shown.
Binary file added docs/en-us/assets/img/device-ctrl.webm
Binary file not shown.
12 changes: 11 additions & 1 deletion docs/en-us/guide/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,20 @@ Hippy implements node and property mapping from front-end to native, allowing vi
<source src="../assets/img/elements-inspect.webm" type="video/webm">
Elements Visualization Inspection example
</video>
<br />
<br />
# Operate Mobile Phone Interface
> Android SDK min supported version 2.16.0
Hippy implements the `Input` interface of the `Chrome DevTools Protocol` . You can directly operate the mobile phone interface on Chrome DevTools without switching back and forth during debugging.
<video width="60%" controls preload="none">
<source src="../assets/img/device-ctrl.webm" type="video/webm">
operate mobile phone interface example
</video>
# HMR & Live-Reload
> min support version 2.12.0
Expand Down
15 changes: 13 additions & 2 deletions docs/guide/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,21 @@ Hippy 实现了节点和属性从前端到终端的映射,可以在 Chrome Dev
<source src="../assets/img/elements-inspect.webm" type="video/webm">
Elements 可视化审查示例(您的浏览器不支持webm视频格式)
</video>

<br />
<br />

# 操作手机界面能力

> Android SDK 最低支持版本 2.16.0

Hippy 实现了 `Chrome DevTools Protocol` 协议的 `Input` 接口,可以在 Chrome DevTools 上直接操作手机界面,调试时无需来回切换。

<video width="60%" controls preload="none">
<source src="../assets/img/device-ctrl.webm" type="video/webm">
操作手机界面能力示例(您的浏览器不支持webm视频格式)
</video>


# HMR & Live-Reload 能力

> 最低支持版本 2.12.0
Expand Down Expand Up @@ -645,7 +656,7 @@ webpack(webpackConfig, (err, stats) => {
LogUtils.e("MyActivity", "loadModule failed code:" + statusCode + ", msg=" + msg);
}
}

@Override
public boolean onJsException(HippyJsException exception) {
return true;
Expand Down

0 comments on commit 740c5fe

Please sign in to comment.