Skip to content

【工具自荐】在 Chrome Devtools 中查看 Android adb 日志 #5326

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nieheyong opened this issue Oct 14, 2024 · 0 comments
Open

【工具自荐】在 Chrome Devtools 中查看 Android adb 日志 #5326

nieheyong opened this issue Oct 14, 2024 · 0 comments
Labels

Comments

@nieheyong
Copy link

项目地址: https://github.com/nieheyong/logcat-in-devtools

执行以下命令,可以在 Chrome Devtools 中查看 adb logcat 日志 。
对前端来说很友好,不用再打开 Android studio。方便使用 Devtools console 已有的搜素过滤和分类

npx logcat-in-devtools@latest

image

Options

$ npx logcat-in-devtools@latest --help

Usage: logcat-in-devtools [options]

View android adb logcat logs in chrome devtools console

Options:
  -V, --version          output the version number
  -m, --match <RegExp>   only print messages that match RegExp
  -s, --serial <SERIAL>  use device with given serial (overrides $ANDROID_SERIAL)
  -h, --help             display help for command
@nieheyong nieheyong changed the title 【工具自荐】在 Chrome Devtools 中查看 adb logcat log 【工具自荐】在 Chrome Devtools 中查看 Android adb 日志 Oct 14, 2024
@ruanyf ruanyf added the weekly label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants