How to view logs when debugging on a real device with hbuilder?

To view the logs during real-time debugging using HBuilder, follow these steps:

  1. Open your project in HBuilder and connect your mobile device for real-time debugging.
  2. Open the Chrome browser and enter chrome://inspect/#devices into the address bar, then press enter to access the debugging page.
  3. Find your connected phone on the page and click the “inspect” button.
  4. Next, click on the “Console” tab in the pop-up debug page to view the log information on the phone.

With this method, you can view the log information of your phone in real time during on-device debugging, making it convenient for debugging and troubleshooting.

广告
Closing in 10 seconds
bannerAds