Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get Firefox console to show more than 200 log entries?

Here is the code I want to print to console:

for(var j=0; j<300; j++){
    console.log(j);  
}

I want to display all j in console. But for some reason, only 100-299 gets printed out.

I am using Firefox built in Web Developer tools.

like image 208
Instinct Avatar asked Apr 14 '14 15:04

Instinct


People also ask

How do I view the console log in Firefox?

You can open the Browser Console in one of two ways: from the menu: select “Browser Console” from the Browser Tools submenu in the Firefox Menu (or Tools menu if you display the menu bar or are on macOS). from the keyboard: press Ctrl + Shift + J (or Cmd + Shift + J on a Mac).

Which one is better for console logging?

I've always been told that when debugging an application, JavaScript's console. log() method is preferred over simply using an alert() method.

Where is the console log output?

Steps to Open the Console Log in Google Chrome By default, the Inspect will open the "Elements" tab in the Developer Tools. Click on the "Console" tab which is to the right of "Elements". Now you can see the Console and any output that has been written to the Console log.


1 Answers

In about:config you can up the limits

Firebug:

extensions.firebug.console.logLimit

Built in Web Developer tools console:

devtools.hud.loglimit.console
like image 88
epascarello Avatar answered Oct 31 '22 17:10

epascarello