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:
- Open your project in HBuilder and connect your mobile device for real-time debugging.
- Open the Chrome browser and enter chrome://inspect/#devices into the address bar, then press enter to access the debugging page.
- Find your connected phone on the page and click the “inspect” button.
- 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.