Dave's Brain

Browse - programming tips - firefox dump

Date: 2007sep12

Q. How can I make Firefox output to a console?

A.

Start Firefox with:
	
	<path-to-firefox> -console

Enter about:config in the address area.
Right-click to make a new option.
Like this:

	browser.dom.window.dump.enabled = true

Restart Firefox

Now your javaScript can do:

	dump("Hello World\n");
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2010, dave - Code on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License.