Wednesday, May 6, 2015

Removing Source Map error messages in Google Chrome Developer Tools

When you are debugging CSS or JavaScript using Google Chrome Developer Tools, you may encounter numerous source map error messages in the Chrome Developer Tools Console.

Well, fortunately, there is an easy fix to get rid of these error messages if you are not using source maps as part of your code base.

Open up the Settings of Chrome Developer Tools by clicking on the Gear icon in the toolbar:

When you open up the Settings, you will see options for the following:

  • Enable JavaScript source maps
  • Enable CSS source maps

You then simply uncheck those checkboxes and you will no longer see the source map error messages in Chrome Developer Tools!


No comments:

Post a Comment