zero icon indicating copy to clipboard operation
zero copied to clipboard

Node.js: show input as well as line:column when failed to compile

Open extempl opened this issue 5 years ago • 0 comments

For those who don't know what is going on and why It wasn't able to compile your code - set a debugger line in the raise method of babylon and launch connect debugger to node immediately after launching zero with --inspect with something like this:

node --inspect=9229 ~/.nvm/versions/node/v12.7.0/bin/zero

As now it is impossible to understand where it failed, as you don't have input, just line and column.

extempl avatar May 08 '20 03:05 extempl