Comments (3)
I was able to get the inspector working with ts-node-dev --inspect=127.0.0.1:9229 ./src/index.ts
.
from ts-node-dev.
Interested in getting your thoughts @whitecolor. Happy to help with a PR with whatever you reckon is the right approach.
Unknown flags are treated like string flags by default. The right solution to avoid ambiguity is to separate script name from option flags with --
.
ts-node-dev --inspect -- my-script.ts
Will add this in docs. Reopen if something wrong.
from ts-node-dev.
@andrewrothman thanks for the insight. It would then mean this is a bug in the way ts-node-dev
parses the arguments list.
Interested in getting your thoughts @whitecolor. Happy to help with a PR with whatever you reckon is the right approach.
from ts-node-dev.
Related Issues (20)
- can't get correct message from child process. HOT 1
- these parameters are deprecated, see docs for addKeyword
- --ignore-watch <folder> does not work (ignored) HOT 3
- Upgrade ts-node to 10.9.1
- [ --cache-directory ] Get a js file with the same file name, which is easy to import into html.
- Error: ENOENT: no such file or directory with temp file HOT 2
- SyntaxError: Cannot use import statement outside a module
- After stoping Ctrl+C, I got address already in use when restart HOT 1
- Flags allowed for 'ts-node' are out of date
- Question: how can I trigger a respawn if my a dependency changes? HOT 1
- reload log appending is irritating
- Not loading app.ts HOT 1
- Handlebars (.hbs) files are not being watched HOT 2
- pnpm install package.json,run ts-node-dev, will case [Error: ENAMETOOLONG: name too long, open HOT 1
- bad option: --cwd?
- Upgrade ts-node to v10.9.2 HOT 4
- Update rimraf to latest v5 to fix vulnerability from inflight dependency of glob package
- hotreload (--respawn) not working inside docker container HOT 2
- passing arguments via npm script no longer works
- Is this package maintaned?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ts-node-dev.