Let's find out...
This isn't about which one is better
The best tool is the one you are comfortable with
With that in mind, let's see what the Chrome Dev tool has to offer
Firefox 1.0
November 2004
September 2008
Chrome
January 2006
Firebug
Not for the faint of heart
Nightly updates
Side-by-side install
Well, most of them.
editing in Chrome
/
Q : Don't I lose everything when closing the browser?
yes and no!
+
+
console.log()
var a = document.createElement('p');
a.appendChild(document.createTextNode('foo'));
a.appendChild(document.createTextNode('bar'));
console.log("Node count:", a.childNodes.length, "and the current time is:", Date.now());
console.log()
console.log("%s has %d points", "Sam", "100");
Console.error();
function connectToServer() {
console.error("Error: %s (%i)", "Server is not responding",500);
}
connectToServer();
console.warn()
if(a.childNodes.length < 3 ) {
console.warn('Warning! Too few nodes (%d)', a.childNodes.length);
}
console.assert()
console.assert(list.childNodes.length < 500, "Node count is > 500");
console.group();
var user = "jsmith", authenticated = false;
console.group("Authentication phase");
console.log("Authenticating user '%s'", user); // authentication code here...
if (!authenticated) {
console.log("User '%s' not authenticated.", user)
}
console.groupEnd();
console.groupCollapsed()
To make it initially collapsed
console.table()
console.clear();
To get started, these files all you need:
document.body.contentEditable = true;