Skip to content

Allow concurrent debug sessions for no-config debugging #613

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

Open
karthiknadig opened this issue Feb 13, 2025 · 1 comment
Open

Allow concurrent debug sessions for no-config debugging #613

karthiknadig opened this issue Feb 13, 2025 · 1 comment
Labels
feature-request Request for new features or functionality needs spike

Comments

@karthiknadig
Copy link
Member

Currently DEBUGPY_ADAPTER_ENDPOINTS takes path to a file. This means that in the terminal we can only set path to a single file. Concurrent, connections can overwrite the file.

Considerations:
[Options PIPE] Make the file a PIPE. For this DEBUGPY_ADAPTER_ENDPOINTS should not be deleted by debugpy on exit.

[Option Folder] DEBUGPY_ADAPTER_ENDPOINTS could point to a folder. Debugpy, creates a temp file with random name and put the port number in it. We can monitor the folder for file creation and connect.

@karthiknadig karthiknadig added the feature-request Request for new features or functionality label Feb 13, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 13, 2025
@rchiodo
Copy link
Contributor

rchiodo commented Feb 13, 2025

I like option 2, pipes are always a pain.

@karthiknadig karthiknadig added needs spike and removed triage-needed Needs assignment to the proper sub-team labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality needs spike
Projects
None yet
Development

No branches or pull requests

2 participants