mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
b33e9da8f9
In debugger, the usage of `repl` very ugly. I'd like there is a `p` like gdb. So the `exec` is coming. Usage: ``` $ ./iojs debug ~/git/node_research/server.js < Debugger listening on port 5858 connecting to 127.0.0.1:5858 ... ok break in /Users/jacksontian/git/node_research/server.js:1 > 1 var http = require('http'); 2 3 http.createServer(function (req, res) { debug> exec process.title /Users/jacksontian/git/io.js/out/Release/iojs debug> ``` And the `repl`: ``` debug> repl Press Ctrl + C to leave debug repl > process.title '/Users/jacksontian/git/io.js/out/Release/iojs' debug> (^C again to quit) ``` The enter and leave debug repl is superfluous. R-URL: https://github.com/nodejs/node/pull/1491 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> |
||
---|---|---|
.. | ||
_toc.markdown | ||
addons.markdown | ||
all.markdown | ||
assert.markdown | ||
buffer.markdown | ||
child_process.markdown | ||
cluster.markdown | ||
console.markdown | ||
crypto.markdown | ||
debugger.markdown | ||
dgram.markdown | ||
dns.markdown | ||
documentation.markdown | ||
domain.markdown | ||
errors.markdown | ||
events.markdown | ||
fs.markdown | ||
globals.markdown | ||
http.markdown | ||
https.markdown | ||
index.markdown | ||
modules.markdown | ||
net.markdown | ||
os.markdown | ||
path.markdown | ||
process.markdown | ||
punycode.markdown | ||
querystring.markdown | ||
readline.markdown | ||
repl.markdown | ||
stream.markdown | ||
string_decoder.markdown | ||
synopsis.markdown | ||
timers.markdown | ||
tls.markdown | ||
tty.markdown | ||
url.markdown | ||
util.markdown | ||
v8.markdown | ||
vm.markdown | ||
zlib.markdown |