require.load = function (context, moduleName, url) {
  var xhr;
  xhr = new XMLHttpRequest();
  xhr.open("GET", chrome.extension.getURL(url) + '?r=' + new Date().getTime(), true);
  xhr.onreadystatechange = function (e) {
    if (xhr.readyState === 4 && xhr.status === 200) {
      eval(xhr.responseText);
      context.completeLoad(moduleName)
    }
  };
  xhr.send(null);
};

require.load = function (context, moduleName, url) {
  var xhr;
  xhr = new XMLHttpRequest();
  xhr.open("GET", chrome.extension.getURL(url) + '?r=' + new Date().getTime(), true);
  xhr.onreadystatechange = function (e) {
    if (xhr.readyState === 4 && xhr.status === 200) {
      eval(xhr.responseText + "\n//@ sourceURL=" + url);
      context.completeLoad(moduleName)
    }
  };
  xhr.send(null);
};

Make debugging easier by adding sourceURL
Make debugging easier by adding sourceURL

See here for more details http://stackoverflow.com/questions/15732017/trouble-debugging-content-scripts-in-a-chrome-extension-using-require-js