MCPcopy Create free account
hub / github.com/microsoft/debugpy / from_process

Method from_process

src/debugpy/common/messaging.py:82–86  ·  view source on GitHub ↗

Creates a new instance that receives messages from process.stdin, and sends them to process.stdout.

(cls, process, name="stdio")

Source from the content-addressed store, hash-verified

80
81 @classmethod
82 def from_process(cls, process, name="stdio"):
83 """Creates a new instance that receives messages from process.stdin, and sends
84 them to process.stdout.
85 """
86 return cls(process.stdout, process.stdin, name)
87
88 @classmethod
89 def from_socket(cls, sock, name=None):

Callers 1

spawn_adapterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected