Your generous donation allows me to continue developing and updating my code!
Examples
Bookmarklet
Debug + Firebug Lite - if the page doesn't use debug.js, this bookmarklet will just open Firebug Lite. If the page does use debug.js, the bookmarklet will open Firebug Lite and pre-populate it with any already-logged items.
The code
// What log_stuff() is actually doing:
var a = 0,
b = 'two',
c = { foo: 1, bar: 2, baz: 'three' },
d = false,
e = [ 3, 4, 5, 6, 7, 8 ];
function log_stuff() {
a++;
d = !d;
debug.group( 'start of group' );
debug.log( a );
debug.debug( b );
debug.info( c );
debug.warn( d );
debug.error( e );
debug.groupEnd();
debug.time( 'test' );
debug.log( a, b, c, d, e );
debug.log([ a, b, c, d, e ]);
(function() { debug.log( arguments ); })( a, b, c, d, e );
debug.timeEnd( 'test' );
};