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

Method wait_for_adapter_socket

tests/debug/session.py:444–449  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

442 os.close(fd)
443
444 def wait_for_adapter_socket(self):
445 log.info(
446 "Waiting for {0} to open the client listener socket...", self.adapter_id
447 )
448 while not self.adapter_endpoints.check():
449 time.sleep(0.1)
450
451 def spawn_adapter(self, args=()):
452 assert self.adapter is None

Callers 3

attach_connectFunction · 0.80
test_attach_apiFunction · 0.80

Calls 2

infoMethod · 0.80
checkMethod · 0.45

Tested by 2

test_attach_apiFunction · 0.64