The new native Android UI version of Firefox does not ship with a dedicated Error Console. Instead, all console messages are redirected to the Android system log – also known as logcat. If you have the Android SDK installed, you already have a way to view the logcat:
# show the complete log adb logcat # show only Firefox log messages adb logcat | grep "Gecko" # show only Firefox error console messages adb logcat | grep "GeckoConsole"
Firefox for Android does support
console API. You can use the API to send data to logcat from your web pages:
// Outputs a message. See also: info, warn, error, debug console.log("value=", x); // Outputs a simple call stack from where the call is executed console.trace(); // Outputs results of a timer console.time("my-timer"); console.timeEnd("my-timer");