Skip to content

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

@extempl

Description

@extempl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions