-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not run fastify cli in watch mode with node inspector #200
Comments
This happens because we are forking the project: https://github.com/fastify/fastify-cli/blob/master/lib/watch/fork.js. We might want to do something about this, as it's a rather convenient feature. Can you do the same with Nodemon for example? How do they implement/support it? |
I don't fully understand the question |
You answered the question! |
Hmm, that's an interesting idea |
Go ahead! |
I am sure |
@xtx1130 , I tried you suggestion and it's actually work! |
I admit that that's an internal usage of |
@HighSoftWare96 yay! Great news:) |
I think it's better to move |
I think this issue can be closed, don't you @pyxarez ? The initial behaviour can be solved now by using: |
Yeah, sure |
Anyone know how to start fustily start on debugging mode? all above solutions not working with me. debug server is started but not attached to the running server. |
🐛 Bug Report
Cli is not working in --watch mode with node inspect on the board
It throws the following log:
Starting inspector on 127.0.0.1:9230 failed: address already in use
To Reproduce
Steps to reproduce the behavior:
Paste your code here:
Expected behavior
It should work in --watch mode with node inspect on the board
Your Environment
The text was updated successfully, but these errors were encountered: