debugger: Make the debugger timeout configurable
authorisaacs <i@izs.me>
Fri, 1 Feb 2013 23:55:03 +0000 (15:55 -0800)
committerisaacs <i@izs.me>
Fri, 1 Feb 2013 23:58:51 +0000 (15:58 -0800)
commit916aebabb83745dd7b1402a92f120107fa6ea6b6
tree01b64980f1b4959136ab09562514ff17304465fb
parent3f65916fa995c74b0db2064911fe76d18d3509b6
debugger: Make the debugger timeout configurable

If the NODE_DEBUGGER_TIMEOUT environment variable is set, then use
that as the number of ms to wait for the debugger to start.

This is primarily to work around a race condition that almost never
happens in real usage with the debugger, but happens EVERY FRACKING
TIME when the debugger tests run as part of 'make test'.
src/node.js
test/simple/test-debugger-client.js
test/simple/test-debugger-repl-utf8.js
test/simple/test-debugger-repl.js