我有一个很长的脚本,不是我写的.当我运行它时,我得到:
phantomjs file.js
SyntaxError: Parse error
Run Code Online (Sandbox Code Playgroud)
我检查了手册和--help,我能想到的最好的是:
phantomjs --debug=yes file.js
(irrelevant debug statement from CookieJar)
SyntaxError: Parse error
Run Code Online (Sandbox Code Playgroud)
有没有更好的方法来获得至少一个行号?或任何暗示?
phantomjs ×1