Replies: 3 comments
-
Just to add some more info...for *.stories.tsx files the code execution in DevTools will stop at a given |
Beta Was this translation helpful? Give feedback.
-
Have you find a solution yet? We're having the same problem, making it very hard to debug components within Storybook. |
Beta Was this translation helpful? Give feedback.
-
Can you all please update the storybook to the latest version? We have improved source map support in recent versions of Storybook.
|
Beta Was this translation helpful? Give feedback.
-
Summary
We are using Storybook 8.0.9 with Vite builder and it is now impossible to debug code in DevTools (worked with webpack though)
Once SB is up and running can't put a breakpoint into the source code in DevTools. Adding a
debugger
statement will trigger HMR and the code execution will stop at a line (probably the line where the debugger statement is) but it is completely out of sync with the source.Here's the vite config:
Anybody else running into this? I didn't find to many issues reported on this.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions