How to get and debug converted source code in React
And then the breakpoint will be triggered as expected.
Go to console and type “new Function(transform(code, opts).code).toString();”, then you can see the converted source code:
The framework has already provided a handy tool for converted source code view: just click the hyperlink in the console here:
Then you can also see the converted source code in new Chrome tab: