I'm using Storybook for some components, but breakpoints are not working correctly in Chrome Dev Tools.
I was able to reproduce the same issue in thekadira-samples/react-storybook-demo app with no modifications (the Todos app sample). Just clone it from github, do npm i and npm run storybook and open your browser to localhost:9001.
If I open TodoItem.js in the Chrome Dev Tools "Source" tab, and put a breakpoint on the first line of render(), then make a change in Storybook that causes a TodoItem to need to re-render (e.g., mark one as complete), the debugger "breaks", but the file that Chrome Dev Tools shows has the name ?d41d, and the contents of the file is just the following:
undefined
/** WEBPACK FOOTER **
**
**/
Switching over to TodoItem.js has no effect, and single stepping just continues execution.
Anyone else have debugging working in Storybook?
I'm using Storybook for some components, but breakpoints are not working correctly in Chrome Dev Tools.
I was able to reproduce the same issue in the
kadira-samples/react-storybook-demoapp with no modifications (the Todos app sample). Just clone it from github, donpm iandnpm run storybookand open your browser tolocalhost:9001.If I open
TodoItem.jsin the Chrome Dev Tools "Source" tab, and put a breakpoint on the first line ofrender(), then make a change in Storybook that causes a TodoItem to need to re-render (e.g., mark one as complete), the debugger "breaks", but the file that Chrome Dev Tools shows has the name?d41d, and the contents of the file is just the following:Switching over to
TodoItem.jshas no effect, and single stepping just continues execution.Anyone else have debugging working in Storybook?