On Sun, Mar 20, 2011 at 9:26 PM, tim perkis <[email protected]> wrote: > Is there something I'm not understanding about global scope? >
Maybe the fact that there is none :) Not in node in the classic sense anyways. I guess I would "monkey patch" your own object for debugging and just assign whatever you want to see logged as a property of your own constructor/singleton (so not the instance). gRT.mySpecialVar = stuff; ... console.log(gRT.mySpecialVar); - peter -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
