Firebug has the ability to log calls to a particular function name. I\'m looking for a bug that sometimes stops a page from rendering, but doesn\'t cause any errors or warn
I accomplished this without firebug. Tested in both chrome and firefox:
console.error("I'm debugging this code.");
Once your program prints that to the console, you can click the little arrow to it to expand the call stack.