The debugger may not show variables in closure until they are used.
Consider this example where a variable is defined but never used:
(function() { var x = 1; $(function () { debugger;
Instead of the string literal, the same code is printed except for the variable:
(function() { var x = 1; $(function () { debugger;
source share