adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_$USER/.App -d 'http://www.mozilla.org'
=== PR C++ Logging ===
You can use the env vars as described above to enable NSPR MOZ_LOG loggingfrom C++ code:
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_$USER/.App --es env0 NSPR_LOG_MODULESMOZ_LOG=all:5 --es env1 NSPR_LOG_FILEMOZ_LOG_FILE=/mnt/sdcard/log.txt
If no file is specified, logging is directed to the android logs:
adb shell am start -a android.activity.MAIN -n org.mozilla.fennec_$USER/.App --es env0 NSPR_LOG_MODULESMOZ_LOG=all:5
Look for lines marked "PRLogGecko" with one of the requested log keys in the adb logcat output.
=== Using legacy GDB (non-JimDB) ===