pulumi/sdk/go/pulumi-internal/netutil
Thomas Gummerer 04771f8b5f
try to choose a consistent port for debugging (#17271)
In languages where we need to attach the debugger to a port, we have
some choice which port we can give the user. For using the debugging
feature on the command line, it is convenient to have the port always be
the same. Let's try to do that, but go to higher ports if the port we
chose is already in use for some reason.

The ports chosen here are "randomly" chosen high ports that are unlikely
to be used already.

Thanks @mikhailshilkov for the suggestion of this.
2024-09-18 10:06:17 +00:00
..
netutil.go try to choose a consistent port for debugging (#17271) 2024-09-18 10:06:17 +00:00
netutil_test.go try to choose a consistent port for debugging (#17271) 2024-09-18 10:06:17 +00:00