Console.debug

From FirebugWiki

Jump to: navigation, search

Writes a message to the console including a hyperlink to the line where it was called.

Contents

[edit] Syntax

console.debug(object[, object, ...])

[edit] Parameters

[edit] object

Object to output in the console. This can be any kind of object. The first argument to log may be a string containing printf-like string substitution patterns. The complete list of patterns can be seen at console.log.

[edit] Examples

console.debug("This is some debug info.");

This prints This is some debug info. to the console.

[edit] See also

Personal tools