Search code examples
javascriptlocal-storagegoogle-chrome-devtools

Can't see localStorage keys with Chrome Developer Tools


I am trying to do a simple JS exercise using localStorage to store some values; when I try to inspect these values using Chrome devtools I can't see the keys

enter image description here

Is there any setting so that I can see it with every key?


Edit:

I am trying to set this value using

localStorage.setItem('Try', 'This is a try');
console.log(localStorage.getItem('Try'));

and the "This is a try" is correctly logged in the console.


Solution

  • Your window showing the value seems to be moved all the way up

    hover the mouse on the line between the "This is a try" and "Key", click and drag down.

    you should see the covered screen then