Yes, though not entirely sure it's CRA related, may be babel or webpack.
I don't think it's relevant, but will try if requested.
DevTools, Chrome, ES6, Source Maps, lots of other googling beyond
node -v: 8.7.0npm -v: 5.4.2yarn --version (if you use Yarn):npm ls react-scripts (if you haven’t ejected): 1.0.14Then, specify:
As far as I can tell, it's a simple as:
Variables to evaluate properly

state is defined, newState should be defined, but is not. I'm wondering if this is because I use similar naming in each switch case block.
I've also removed all Flow typing from the file, same result. I've also tried several devtool options for Webpack with no changes.
https://github.com/facebookincubator/create-react-app/issues/3597#issuecomment-356338424
I have this happen all the time, I think it has to do with webpack sourcemaps but I'm not sure. I'm getting garbage output such as this showing props instead. Adding a console.log statement produces the correct output, but hovering over variables or printing them in debug console does not.
I tried with various devtool settings, and nothing seemed to fix it. Also noticed in FireFox.
This will need some investigation. I don't know if there's a way to fix it with Babel/Webpack but it's worth looking into. Unfortunately I won't have time to do it myself.
cc @samccone @paulirish Can somebody on your side help us figure out why this broke? I think it used to work although I might be wrong.
@TheTFo @d07RiV Please prepare a reproducing example, it’s very hard to help you if you didn’t create one. This issue could’ve progressed if you spent a few minutes sharing it.
Sorry, Dan. I got caught up with the holidays, and this fell off.
I can't share my code, but I'll try to put together a reproduction tomorrow.
On Mon, Jan 8, 2018, 7:08 PM Dan Abramov notifications@github.com wrote:
This will need some investigation. I don't know if there's a way to fix it
with Babel/Webpack but it's worth looking into. Unfortunately I won't have
time to do it myself.cc @samccone https://github.com/samccone @paulirish
https://github.com/paulirish Can somebody on your side help us figure
out why this broke? I think it used to work although I might be wrong.@TheTFo https://github.com/thetfo @d07RiV https://github.com/d07riv
Please prepare a reproducing example, it’s very hard to help you if you
didn’t create one. This issue could’ve progressed if you spent a few
minutes sharing it.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/facebookincubator/create-react-app/issues/3597#issuecomment-356137229,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgWoF9n4zE7tmfjZKGX7Vci0QzHNOK9ks5tIq4AgaJpZM4RBfiE
.
Thank you so much, this is appreciated!
https://github.com/TheTFo/es6-debug-issue
Clone master,
npm install
npm run start
Place a breakpoint on src/App.js, line 17. Inspect myObject on line 16, and it is undefined.

Awesome, thanks! This is very helpful.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 7 days if no further activity occurs.