debugger: document pause and setBreakpoint(line)
authorFedor Indutny <fedor.indutny@gmail.com>
Mon, 19 Dec 2011 21:09:54 +0000 (03:09 +0600)
committerRyan Dahl <ry@tinyclouds.org>
Mon, 19 Dec 2011 21:29:21 +0000 (13:29 -0800)
Fixes #2381

doc/api/debugger.markdown

index 5583f86..122435c 100644 (file)
@@ -93,10 +93,12 @@ prints the active watchers. To remove a watcher, type
 * `next`, `n` - Step next
 * `step`, `s` - Step in
 * `out`, `o` - Step out
+* `pause` - Pause running code (like pause button in Developer TOols)
 
 #### Breakpoints
 
 * `setBreakpoint()`, `sb()` - Set breakpoint on current line
+* `setBreakpoint(line)`, `sb(line)` - Set breakpoint on specific line
 * `setBreakpoint('fn()')`, `sb(...)` - Set breakpoint on a first statement in
 functions body
 * `setBreakpoint('script.js', 1)`, `sb(...)` - Set breakpoint on first line of