function fixAbsoluteSourcePaths() {
        // Documentation says what source maps can contain absolute paths,
        // but DevTools strictly expects relative paths.
        sourceMap.sources = sourceMap.sources.map(function(source) {
          if (!pathIsAbsolute(source)) return source;

          return path.relative(scriptOrigin, source);
        });
      }
@param {string} id script id.
@return {{hidden: boolean, path: string, url: string}}