Skip to content

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

Open
@extempl

Description

@extempl
Contributor

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

        Participants

        @extempl

        Issue actions

          Node.js: show input as well as line:column when failed to compile · Issue #129 · remoteinterview/zero