function relativeRequire(name) {
  var relativePath = path.join(targetPath, name);
  try {
    return originalRequire(relativePath);
  } catch (e) {
  }
  return originalRequire(name);
}
@fileoverview App shim script.
Runs a script with tracing enabled, dumping a snapshot at the end.

@author benvanik@google.com (Ben Vanik)