Firebug Script 调试记录
-
Your new friend, console.log //显示变量 参数
console.log,
console.debug
, console.info
,
console.warn
, console.error
...








-
Timing and profiling // 时间及性能分析












-
Stack traces
console.trace()
- Nested grouping
Just call
console.group("a title")
to start a new indentation
block, and then console.groupEnd()
to close the block. You can
create as many levels of indentation as you please.-
Object inspection // 显示对象信息
Calling console.dir(object)
will log an interactive listing of
an object's properties, like a miniature version of the DOM tab.
Calling
console.dirxml(element)
on any HTML or XML element will print a
lovely XML outline, like a miniature version of the HTML tab.

