javascriptgoogle-chromegoogle-chrome-devtoolssource-maps

Disable source maps in Chrome DevTools


Is there a quick way to switch from the jsx code shown in Chrome DevTools to the raw ES5 and back again?


Solution

  • Open Developer Tools, go to "Settings" for Developer Tools, then uncheck Enable JavaScript Sourcemaps under the "Sources" settings.

    Settings for Developer Tools

    JS sourcemaps toggle