Hippy icon indicating copy to clipboard operation
Hippy copied to clipboard

鸿蒙远程调试console中无法显示日志

Open heweimxcz opened this issue 8 months ago • 6 comments

远程调试鸿蒙机器,链接在web中打开,console中无法显示日志内容,android按照相同的流程正常,console下可以显示日志

heweimxcz avatar Apr 15 '25 09:04 heweimxcz

Image

heweimxcz avatar Apr 15 '25 09:04 heweimxcz

这一般是这2步没改全: Hippy/driver/js/CMakeLists.txt 里:打开 set(JS_ENGINE "V8") 注释 set(JS_ENGINE "JSH") Hippy/framework/ohos/build-profile.json5 里 debug 配置下: "arguments": "-DENABLE_INSPECTOR=false",改为true。 (这个是为了打开 ENABLE_INSPECTOR 宏,让调试功能生效)

etkmao avatar Apr 15 '25 09:04 etkmao

详见:https://doc.openhippy.com/#/development/debug

etkmao avatar Apr 15 '25 09:04 etkmao

好的,多谢,我试试

heweimxcz avatar Apr 15 '25 09:04 heweimxcz

@etkmao 可以了,是这个原因,多谢

heweimxcz avatar Apr 15 '25 13:04 heweimxcz

Pay attention 🛎️ !! There has been no activity on this issue for 2 months, so I will label it stalled. It will be automatically closed in 60 days if no more activity. Feel free to leave a comment if you have any questions.

hippy-service[bot] avatar Jun 14 '25 19:06 hippy-service[bot]

Sorry, closing this issue because it has stalled for over 3 months. Feel free to reopen if this issue is still relevant, or to ping the collaborator if you have any questions.

hippy-service[bot] avatar Jul 14 '25 19:07 hippy-service[bot]