ipython / ipython/ipykernel

Using UDS for communication in debugger

Open
#1,258 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

IIUC, the current debugpyClient communicates with debugpy via a TCP connection. However, due to security limitations in our use case, we are unable to use network sockets for the communication.

I understand debugpy currently only supports TCP connections, but I have proposed an issue for debugpy to accept UDS as well([link](https://github.com/microsoft/debugpy/issues/1607)). If they are onboard with this, can we update ipykernel logic to use UDS instead of TCP? Or will there be any concerns there?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the ipykernel debugpyClient path that establishes its TCP connection, then review debugpy issue 1607 for UDS support and compatibility. Determine whether the external support is available and identify concerns in replacing TCP with UDS; done means a documented decision and, if supported, updated communication behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
devtools, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.