On Tue, Mar 27, 2012 at 22:51, idearat <[email protected]> wrote: > When invoking: > > node debug script.js < input_file > > I get the error: AssertionError: stdin must be initialized before calling > setRawMode. This appears to be unrelated to my code, I've got > process.stdin.resume() as the first line of the script file. If I don't > redirect input to the script (without making any other changes) the debugger > starts properly. > > Is this a bug, or is there a workaround I should be aware of? Is there a > different means by which I can debug a script whose input is stdin?
It's a bug that's fixed in the master branch. -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
