Become a member
to unlock all features

    Generate Source Maps through webpack for a Better Debugging Experience with source-map

    chrome-devtoolsChrome DevTools

    A potential downside to all the transformations our tools perform on our code is that when you need to debug your application, the code being served isn’t the code you wrote. This is where source maps save the day. We can serve transformed and bundled code, then debug in DevTools against our source code right in the browser. In this lesson we’ll take a look at the default debug experience without source maps, then we’ll configure webpack to generate source maps and look at the enhanced experience.