title: getting more information from phantomjs "SyntaxError: Parse error" message
body: <p>I have a long script that was not written by me. When i run it I get:</p>
  
  <pre><code>phantomjs file.js
  SyntaxError: Parse error
  </code></pre>
  
  <p>i checked out the manual and --help, and the best i could came up with was:</p>
  
  <pre><code>phantomjs --debug=yes file.js
  (irrelevant debug statement from CookieJar)
  SyntaxError: Parse error
  </code></pre>
  
  <p>Is there any better way to get at least a line number? or any hint at all?</p>