Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome debugger doesn't show variable values on mouse over

I created a simple react app by using "npx create-react-app my-app --template typescript" command. When I start the app "npm start" it is running with no issues but I'm not able to see the values in the Chrome dev tools if I add a breakpoint in the code. Am I missing any dependency or this is the way it's supposed to work for the react app?

Mouse hovered on name variable but didn't popup

like image 234
Vahe Mikayelyan Avatar asked May 05 '26 14:05

Vahe Mikayelyan


1 Answers

It was a bug in devtools in my case, I've fixed it by changing an unrelated setting:

  1. open devtools, then its preferences

  2. toggle Display variable values inline while debugging

    enter image description here

  3. close devtools

  4. repeat 1-2 if necessary

like image 73
wOxxOm Avatar answered May 07 '26 06:05

wOxxOm