-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Python extensions listens on port 9003 #21929
Comments
So, this happened to me across multiple machine restarts but now it does not appear to be running on port 9003. I'm wondering if maybe it selected 9003 arbitrarily because the port was free when the process was starting? Either way, it would be nice to have it avoid that port. |
We do use a port for testing. it could be that the testing server used this port. We generally leave it to select any of the ephemeral ports. May be we should logs this to debug cases where this occurs. /cc @eleanorjboyd |
Yes I can add logging for the ports we select for communication! |
There are two steps here:
this issue will track the progress on adding logging to print which ports are used. There are two ports that need to be logged the port that communicates the testIDs then the second that communicates the resulting information from python run. |
@luabud Can you please assign this to me, Thanks! |
Can this also be assigned to me - just want to practice @eleanorjboyd |
@lifelearner2 If you want to just practice on this, then we don't need to assign. You can just try working on it. |
this will be resolved by: #22177 as we will no longer have port conflicts. |
closing as this is no longer needed- see above |
Type: Bug
Behaviour
Expected vs. Actual
Expected: Python extension listens on a different port than 9003, which is the standard port for Xdebug.
Actual: Python extension listens on port 9003.
Steps to reproduce:
lsof -n -i :9003 | grep LISTEN
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2023.14.0
VS Code version: Code 1.81.1 (Universal) (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:20:33.924Z)
OS version: Darwin arm64 22.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: