Remote Debugging

The remote debugging needs IDE 0.24.3-beta.0 and higher version.

For ease of real machine debugging, the developer tool provides the remote real machine debugging function. With the remote real machine debugging, you can:

  • Perform breakpoint debugging of remote Mini Program in IDE
  • View the AXML structure and style of remote interface in IDE
  • View cellphone Network & Storage and other information in IDE
  • View Mini Program running log on cellphone in IDE

Click Debug in the topright toolbar and confirm to push and generate debugging QR code:

Remote Debugging

After scanning, the simulator shows the connection information. Meanwhile the cellphone shows the remote debugging mode has been connected. Now you can now perform the remote breakpoint debugging. For example, you can normally inspect axml elements.

Besides, you can perform breakpoint debugging. The mask prompt will appear upon breakpoint on the real machine.

Attention in the remote debugging: disconnect remote debugging after modifying code each time, and then push again, repeat the steps to scan to connect and perform remote debugging.