ts-node --inspect does not work on 5.0.0

Created on 28 Feb 2018  路  3Comments  路  Source: TypeStrong/ts-node

$ ts-node --inspect==5858 src/index.ts
Server started at http://localhost:8080

Works fine with v4.1.0

invalid

Most helpful comment

you need to use something like this: node inspect=9999 -r ts-node src/index.ts

All 3 comments

Duplicate of https://github.com/TypeStrong/ts-node/issues/537. Please search before opening another issue, especially since the issue directly before this is the exact same.

ts-node --files ./src/index.ts --inspect

you need to use something like this: node inspect=9999 -r ts-node src/index.ts

Was this page helpful?
0 / 5 - 0 ratings