Skip to content
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

pydevd should report parent process ID in "initialize" response #1759

Open
int19h opened this issue Sep 10, 2019 · 0 comments

Comments

@int19h
Copy link
Contributor

commented Sep 10, 2019

This is mostly to allow us constructing a proper process tree inside the adapter. With the current proposed design, we know that an incoming server->adapter connection is a subprocess, if it's not the first such connection - the root process is always the first, and everything else is its subprocess. The access tokens ensure that there are no spurious connections.

However, in the case where you have child processes spawning other child processes, we don't have any way to determine that relationship.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.