I haven't used readline myself, but I suspect if you use a graphical debugger such as node-inspector [1], it's not going to interfere with readline. Also, in node-inspector, you set breakpoints in functions by simply clicking next to the line you wish to breakpoint.
[1] https://github.com/dannycoates/node-inspector On Monday, August 27, 2012 1:51:39 AM UTC-7, TGV wrote: > > Hi, > > I'm working on test code that uses readline for ad hoc testing, but I > cannot manage to get it to work with the debugger. When I start node in > debug mode, my code never gets to read from the terminal. Is there some way > around it (except the one where I just discard readline)? > > On a slightly related note: how does one set breakpoints in functions? > When I tell the debugger sb('function()'), it always comes back with Error: > "function is not defined" evaluating "function", no matter which function > name I fill in; leaving out the parentheses gets "Script : function not > found". > > Thanks, > > Theo > -- 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
