Suppose that I work in a project with react.js as a dependency.
Now I add breakpoint in my own code and the breakpoint is triggered in chrome.
Is there any way to step through original lines of code of react library instead of compiled file?
Thanks!
Suppose that I work in a project with react.js as a dependency.
Now I add breakpoint in my own code and the breakpoint is triggered in chrome.
Is there any way to step through original lines of code of react library instead of compiled file?
Thanks!
I cannot leave a comment because I don't have enough reputation, but what you are looking for is Source Maps.
Here is a Medium article that could be beneficial: https://javascript.plainenglish.io/debug-your-react-app-like-a-ninja-with-source-maps-c63010b3a6e7