fix NODE_OPTIONS=inspect (#59530)
Passing `NODE_OPTIONS='--inspect'` was failing because a sub-process was getting created (`getRegistry()`) which would trigger a "address already in use" error when the process inherited the same debugger port from the parent process. I had to disable this test in https://github.com/vercel/next.js/pull/59508 because it wasn't passing, CI was just skipping it. This PR fixes the behavior and re-enables the test. Fixes #55862 Closes NEXT-1854
Showing
Please
register
or
sign in
to comment