I'm a beginner in jQuery, I learned and write code in this style from a document, I want to see the data in that scope when I use chrome console,but I can't.I want to use some tools or code to get that variable.
(function($){
$(function(){
var a = 1;
//code
//'that' is this scope
})
})(jQuery);
debugger;) to halt execution where you want so you can inspect it then and there, or assign to a global variable which will be available later in the console.