My javascript code is encapsulated in an immediately invoked function like this :
(function($){
var myVar;
... Some code
})(jquery)
I want to watch the variable myVar using Chrome debugger.
And see the changes when refreshing the watcher at any time.