QA/B2G getting started

< QA
Revision as of 17:47, 25 April 2013 by Edwong (talk | contribs) (Created page with "===Overview=== ===The Build=== ===Debugging=== ====ADB==== adb is how to tether and connect to your phone * get it here * get log files ** plug in USB ** on phone goto Setti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The Build

Debugging

ADB

adb is how to tether and connect to your phone

  • get it here
  • get log files
    • plug in USB
    • on phone goto Settings > About Phone > Advanced turn on USB and BLAH
    • on mac run
      • ./adb devices
      • if you don't see the device, restart adb with this cmd: ./adb usb

how to get logs:

  • run ./adb logcat > log.txt
  • run ./adb logcat -c to clear

how to push a pref:

  • ./adb push pref("toolkit.identity.debug", true);