Document TOP » Products Guide » Monaca Localkit » Manual » Pairing and Debugging

Pairing and Debugging

In order to debug Monaca app with Monaca Localkit, you need to pair your host PC (running Monaca Localkit) with your device (running Monaca Debugger) first.

Note

Make sure your host PC and your mobile device are in the same network connection (LAN or Wi-Fi). Some public networks do not allow connections between clients; therefore, pairing cannot be done in this case.

Start Pairing

  1. Log in to Monaca Localkit on your host PC.
  2. Use the same account to log in to Monaca Debugger on your mobile device.
  3. Once logged in, Monaca Debugger should be able to detect the host PC as shown below. Then, click Pair button to start the pairing. However, if Monaca Debugger is unable to detect the host PC automatically, please refer to Troubleshoot the Pairing.
../../../_images/115.png
  1. If the pairing is successful, the debugger will be shown under “Debuggers” tab in Monaca Localkit.
../../../_images/29.png
  1. Moreover, when the debugger is successfully connected to Monaca Localkit, a local projects list will be shown in Monaca Debugger as shown below:
../../../_images/39.png

Stop Pairing

  1. From Monaca Debugger, click on the toggle menu on the top-left corner and go to Local Computers button.
  2. Then, the connected PC will be shown. Click on the “Information” icon of the connected PC (see the screenshot below).
../../../_images/49.png
  1. The information of the connected PC will be shown here. Click Unpair this computer button to disconnect from the selected PC. Once you unpair, you can’t debug your local Monaca projects with this debugger anymore unless you pair it again.
../../../_images/58.png