User Services/Sync/Debug Sync: Difference between revisions

Update instructions for Fenix
(Update instructions for Fenix)
 
Line 26: Line 26:


==Android==
==Android==
* For advanced users:
** Install Android Debugging Tools: http://developer.android.com/sdk/index.html
** put adb in your path so you can call it from anywhere.
** Run this:


adb setprop log.tag.FxSync VERBOSE
These instructions are for advanced users only - unfortunately there are no simpler instructions which are approachable for general users.
adb setprop log.tag.FxAccounts VERBOSE
* Install Android Debugging Tools - the location of this changes over time, [https://developer.android.com/studio installing Android Studio seems the easiest cross-platform way] or [https://www.xda-developers.com/install-adb-windows-macos-linux xda-developers has instructions for each desktop platform]
adb setprop log.tag.FxAccountSyncAdapter VERBOSE
* Tether your device
 
** You also need to enable "developer mode" on your phone and authorize the device - [https://www.xda-developers.com/install-adb-windows-macos-linux xda-developers has some instructions for how to configure it].
** Tether your device and make sure your computer can see it by running:
** You will know you have successfully configured it when your computer can see your Android device by running, from a terminal or command prompt:
  adb devices
  adb devices
** Run this
(Note that you will either need to add the directory containing <code>adb</code> to your <code>PATH</code>, or specify the full path to it in the command above)
  adb logcat | grep -i 'account'
* To view sync-related logging, run:
 
  adb logcat | grep -i -E "(sync15|sync_manager|FirefoxAccount)"
==HTTP Logging==
This may also be helpful to observe http traffic details:
* https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/HTTP_logging
* consider install add-ons such as httpFox
Confirmed users
99

edits