VS Code debugger says a variable is undefined, but the variable appears in console log

Try running this particular piece of javascript code in VS Code’s debugger mode.

(async()=>{
 let t = 1;
 console.log(t);
 for(let i =0 ; i<99999999; i++) {
     continue;
 }
 debugger;  
})();

At the debugger breakpoint, it says that the ‘t’ is undefined
enter image description here

Any idea why this happens?