User Services/Sync/Debug Sync: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
You can also open the console to view errors:
You can also open the console to view errors:
Tools > Web Developer > Web Console
Tools > Web Developer > Web Console
===How to force reauthentication===
When you reset password this will cause all other devices to reauthenticate.  To force that, edit this file:
<profile location>/<some chars>.<profile name>/signedInUser.json
Mac:
~/Library/Application Support/Firefox/Profilesm/4g2ivti.my_test_profile/signedInUser.json


==Android==
==Android==

Revision as of 00:46, 5 March 2014

Often it's helpful to provide diagnostic log data in bugs to help a developer fix an issue. Here are some tips:

Desktop

  1. goto about:config
  2. In the filter field type 'sync.log'
  3. Context click on pref and set it as:
    • services.sync.log.appender.file.logOnSuccess to True
    • services.sync.log.logger.engine.bookmarks to Trace
  4. In Firefox, go here: about:sync-log

You can also open the console to view errors: Tools > Web Developer > Web Console

How to force reauthentication

When you reset password this will cause all other devices to reauthenticate. To force that, edit this file:

<profile location>/<some chars>.<profile name>/signedInUser.json

Mac:

~/Library/Application Support/Firefox/Profilesm/4g2ivti.my_test_profile/signedInUser.json

Android

 adb setprop log.tag.FxSync VERBOSE
 adb setprop log.tag.FxAccounts VERBOSE
 adb setprop log.tag.FxAccountSyncAdapter VERBOSE
    • Run this
adb logcat | grep -in 'account'