Skip to main content

Remote Debug

Developer can inspect logs and elements from native IDE by using remote debug.


  • native >= 2.53.0
  • sdk >= 3.14.0

Other requirements#

  • ‼️ Your cellphone is supposed to be the same local network with your computer.

  • ‼️ Scan the qrcode with the same binance account with IDE logged account.

How to use#

  1. Click the Remote Debug Button which locates at the top of IDE.


Before doing that, you should login in first.

  1. Scan qrcode which generated from last step.


  1. A panel will be shown after scaning the qrcode


  1. You can do everything you want and inspect logs and elements by using this panel. And in the debugger for remote debugging, you can debug code in the Console panel, view the source code of a Mini Program and perform breakpoint or single-step debugging in the Sources panel.

You can execute bn related functions in it.


  1. Page will automatically refresh when there are any code change. If you don't want that, you can click the off button.



Q: Failed to connect to IDE?

A: Make sure your mobile device and IDE are in one local network so that mobile device can access IDE with IP an port.

Q: Why loading all the time?

A: You can try to capture the network requests and find which request is pending. Network may be unstable, please wait for minutes. And if not work either, you can ask somebody for help.

  1. If the request url starts with /local-app-info/, you can ask IDE team for help.
  2. If the request url starts with detail, you can ask BE team for help.
  3. others requests, you can ask IOS or Android team for help.

Q: What's the difference between remote debug and preview?

A: Remote debug will popup a Remote Debug window. To be furthur, remote debug will fetch worker-remote-debug.js and render-remote-debug.js. And these two files will replace Bridge with WebSocketBridge. WebSocketBridge will forwards all the requests for you.