Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
pydevd should report parent process ID in "initialize" response #1759
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.