From 802c4c6a61d586dccc55d6408424233d1a566bf2 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 20 Dec 2011 03:09:54 +0600 Subject: [PATCH] debugger: document pause and setBreakpoint(line) Fixes #2381 --- doc/api/debugger.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/debugger.markdown b/doc/api/debugger.markdown index 5583f8685d2..122435cbb35 100644 --- a/doc/api/debugger.markdown +++ b/doc/api/debugger.markdown @@ -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