Why i cant access localStorage in DevTools?

Rock Studios .co
19 Mar 2020, 20:39

That question appears to me. My localStorage/res is not answer me. Shows me that msg: "INSPECTOR TARGET CRASHED. INSPECTED TARGET HAS CRASHED. ONCE IT RELOADS WE WILL ATTACH TO AUTOMATICALLY."

So... how to fix this?

JS:

pointOne = function() {
    window.localStorage.setItem("POV","personagem_1");
};