RequireJS in the browser: how can I get the JS console into context?
===

I'm using RequireJS in my browser. I have some JS louaded by a script tag, something like:

    requirejs(["jquery", "shared", function($, shared) {
      var foo=bar;
    }

I would like to print the current value of 'foo' from a JS console in the Chrome Dev Tools. How can I do this?