node/doc/api
Ben Noordhuis 50f02bd8d6 doc: update vm.runInDebugContext() example
The debugger needs to be active now before one is allowed to query the
list of scripts.  Replace the example with one that works without
installing a debug event listener first.

Fixes: https://github.com/nodejs/node/issues/4862
PR-URL: https://github.com/nodejs/node/pull/6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
2016-05-17 17:24:51 -07:00
..
_toc.markdown doc: add a cli options doc page 2016-03-30 13:12:16 -07:00
addons.markdown doc: fix typo in api/addons 2016-03-21 13:07:06 -07:00
all.markdown doc: add 'Command Line Options' to 'View on single page' 2016-04-11 12:52:00 -04:00
assert.markdown doc: note assert.throws() pitfall 2016-04-11 13:00:55 -04:00
buffer.markdown doc: document unspecified behavior for buf.write* methods 2016-04-11 11:41:20 -04:00
child_process.markdown doc: describe child.kill() pitfalls on linux 2016-05-17 17:24:45 -07:00
cli.markdown doc: add a cli options doc page 2016-03-30 13:12:16 -07:00
cluster.markdown doc: fix links in tls, cluster docs 2016-03-21 12:57:58 -07:00
console.markdown doc: explain differences in console.assert between node and browsers 2016-05-17 17:24:41 -07:00
crypto.markdown doc: update openssl.org hash links 2016-05-17 17:24:45 -07:00
debugger.markdown doc: harmonize $ node command line notation 2016-03-02 14:01:11 -08:00
dgram.markdown doc: fix type references for link gen, link css 2016-03-02 14:01:11 -08:00
dns.markdown doc: fix dns.resolveCname description typo 2016-03-21 13:07:03 -07:00
documentation.markdown doc: add info to docs on how to submit docs patch 2016-03-21 12:57:52 -07:00
domain.markdown doc: fix type references for link gen, link css 2016-03-02 14:01:11 -08:00
errors.markdown doc: replace functions with arrow functions 2016-05-17 17:24:48 -07:00
events.markdown doc: typo: interal->internal. 2016-03-30 13:14:18 -07:00
fs.markdown doc: clarify fs.watch() and inodes on linux, os x 2016-05-17 17:24:41 -07:00
globals.markdown doc: native module reloading is not supported 2016-05-17 17:24:41 -07:00
http.markdown doc: clarifies http.serverResponse implementation 2016-05-17 17:24:40 -07:00
https.markdown doc: update openssl.org hash links 2016-05-17 17:24:45 -07:00
index.markdown
modules.markdown doc: explain error message on missing main file 2016-03-30 13:12:16 -07:00
net.markdown doc: fix relative links in net docs 2016-03-21 12:57:58 -07:00
os.markdown doc: fenced all code blocks, typo fixes 2016-03-02 14:01:11 -08:00
path.markdown doc: revert backported commits 2016-05-17 17:24:41 -07:00
process.markdown doc: Add note about use of JSON.stringify() 2016-03-21 13:07:07 -07:00
punycode.markdown doc: fenced all code blocks, typo fixes 2016-03-02 14:01:11 -08:00
querystring.markdown doc: fix multiline return comments in querystring 2016-03-30 13:12:15 -07:00
readline.markdown doc: don't use "interface" as a variable name 2016-03-02 14:01:11 -08:00
repl.markdown doc: harmonize $ node command line notation 2016-03-02 14:01:11 -08:00
stream.markdown doc: minor argument formatting in stream.markdown 2016-05-17 17:24:40 -07:00
string_decoder.markdown doc: fenced all code blocks, typo fixes 2016-03-02 14:01:11 -08:00
synopsis.markdown doc: harmonize $ node command line notation 2016-03-02 14:01:11 -08:00
timers.markdown doc: consolidate timers docs in timers.markdown 2016-04-08 17:21:02 -04:00
tls.markdown doc: update openssl.org hash links 2016-05-17 17:24:45 -07:00
tty.markdown doc: fenced all code blocks, typo fixes 2016-03-02 14:01:11 -08:00
url.markdown doc: fenced all code blocks, typo fixes 2016-03-02 14:01:11 -08:00
util.markdown doc: copyedit util doc 2016-03-02 14:01:11 -08:00
v8.markdown doc: update V8 URL 2016-03-21 12:57:51 -07:00
vm.markdown doc: update vm.runInDebugContext() example 2016-05-17 17:24:51 -07:00
zlib.markdown doc: note that zlib.flush acts after pending writes 2016-05-17 17:24:48 -07:00