debugger: document pause and setBreakpoint(line)

Fixes #2381
v0.7.4-release
Fedor Indutny 2011-12-20 03:09:54 +06:00 committed by Ryan Dahl
parent 3966e4e7a5
commit 802c4c6a61
1 changed files with 2 additions and 0 deletions

View 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