Open brandoncollins7 opened 1 year ago
same
Anyone? How to assign random debug ports?
Hi there @brandoncollins7 ! Can you please create a minimum reproduction repository for this?
On Nx, we do support you setting the port manually, as you described, in the server you are using. So, in your project.json
you can set a port and Nx will respect that. If you can create a repo, I can take a look, in any case!
I understand that you would like Nx to suggest switching ports if a port is already being used, but the port detection happens on runtime, and when it gets handled, it gets handled by the builder/server being used.
This issue has been automatically marked as stale because it hasn't had any activity for 6 months. Many things may have changed within this time. The issue may have already been fixed or it may not be relevant anymore. If at this point, this is still an issue, please respond with updated information. It will be closed in 21 days if no further activity occurs. Thanks for being a part of the Nx community! 🙏
Current Behavior
Unless I manually provide a custom --port=12345 for each of my apps, I cannot debug more then one at a time. I've never had this issue with all my apps before nx.
Expected Behavior
Nx should assign a random debug port to each application automatically.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Failure Logs
No response
Operating System
Additional Information
No response