In a typical react app, using babel with the presets es2015
, react
and stage-2
and with sourcemaps enabled, setting the breakpoint in a generator function, the breakpoint will move automatically to somewhere else.
.babelrc
{
"presets": ["es2015", "react", "stage-2"]
}