Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
extempl opened this issue May 8, 2020 · 0 comments
Open

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

extempl opened this issue May 8, 2020 · 0 comments

Comments

@extempl
Copy link
Contributor

extempl commented May 8, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant