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

Method from_stdio

src/debugpy/common/messaging.py:75–79  ·  view source on GitHub ↗

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

(cls, name="stdio")

Source from the content-addressed store, hash-verified

73
74 @classmethod
75 def from_stdio(cls, name="stdio"):
76 """Creates a new instance that receives messages from sys.stdin, and sends
77 them to sys.stdout.
78 """
79 return cls(sys.stdin.buffer, sys.stdout.buffer, name)
80
81 @classmethod
82 def from_process(cls, process, name="stdio"):

Callers 2

__init__Method · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected