Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add node's --inspect debugger to port detection (#2981)
* change get_port to return Vec instead of Option * Adjust calls to get_port to accept Vec * Add changelog * Add tests for node inspector port detection * Various * Change get_ports to take get_env fn * Allow MIRRORD_IGNORE_DEBUGGER_PORTS to contain multiple port numbers * Fix comment * Various * Add default inspector port as fallback * Allow detection of multiple ports for inspector * Fix tests and format * Clippy * Change Detected to Single variant * Move port parsing logic to impl FromStr and impl Display * Use FromStr and Display to set env var * Make DebuggerPorts FromStr infallible
- Loading branch information