How can I (if I can, at all) read captured variables in a function's closure given a function object in Chrome or Firefox?
Chrome development tools let me examine closures if I print an object in the console, so there ought to be a debugging API of a sort, which I'd like to use from a script. This is not production code, so I can put the browser in some sort of "debug mode" if I have to.