title: Shift the offset during eval (using sourcemap)
body: <p>I'm loading a script from a file, and I'm using <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/eval" rel="nofollow noreferrer"><code>eval()</code></a> to generate a Javascript code like this:</p>
  
  <pre><code>var code = fs.readFileSync('myfile');
  var shiftedCode= 'function(param) {' + code + '}\n'+ '//# sourceURL=myfile';
  eval(shiftedCode)
  </code></pre>
  
  <p>The problem is when I put a breakpoint or debugger inside the code, it stops two lines after the correct one because of the added chars at the beginning I suppose.</p>
  
  <p>Is there a way to shift the <code>sourceURL</code> to the correct start point may be using sourcemaps? </p>
  
  <p>Thank you in advance for your help.</p>