Difference between revisions of "Debug"

From FirebugWiki
Jump to: navigation, search
(Separate Command Line API page for debug())
 
(Added description of syntax, hint for needing help and linked back to Command Line API)
Line 1: Line 1:
 +
{{needsHelp}}
 +
 
Adds a breakpoint on the first line of a JavaScript function.
 
Adds a breakpoint on the first line of a JavaScript function.
 +
 +
== Syntax ==
 +
<source lang="javascript">
 +
debug(fn)
 +
</source>
 +
 +
== See also ==
 +
* [[Command Line API]]

Revision as of 04:08, 5 July 2012

This article is incomplete. Please help to add more information to it. If you're not registered yet, you can ask for an account.

Adds a breakpoint on the first line of a JavaScript function.

Syntax

debug(fn)

See also