Open
Description
项目地址: https://github.com/nieheyong/logcat-in-devtools
执行以下命令,可以在 Chrome Devtools 中查看 adb logcat 日志 。
对前端来说很友好,不用再打开 Android studio。方便使用 Devtools console 已有的搜素过滤和分类
npx logcat-in-devtools@latest
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