Skip to content

Bug/feature: ts-node should work with NODE_OPTIONS #471

Description

@ORESoftware

This works:

ts-node --inspect-brk foo.ts  # ❤️

but this doesn't

NODE_OPTIONS="--inspect-brk" ts-node foo.ts #  💥

I think it's because ts-node starts a child process, and because of that, we get an "address already in use" error. See the Node.js help issue attached.

Just try it for yourself and you will see the problem.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions