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

Method request_attach

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

Source from the content-addressed store, hash-verified

797 return self._request_start("launch")
798
799 def request_attach(self):
800 # In attach(listen) scenario, adapter only starts listening for server
801 # after receiving the "attach" request.
802 listen = self.config.get("listen", None)
803 if listen is not None:
804 assert "server" not in self.expected_adapter_sockets
805 self.expect_server_socket(listen["port"])
806 return self._request_start("attach")
807
808 def request_continue(self):
809 self.request("continue", freeze=False)

Callers 7

startMethod · 0.95
attach_pidFunction · 0.80
attach_connectFunction · 0.80
attach_listenFunction · 0.80
test_attach_apiFunction · 0.80
test_reattachFunction · 0.80

Calls 3

expect_server_socketMethod · 0.95
_request_startMethod · 0.95
getMethod · 0.45

Tested by 3

test_attach_apiFunction · 0.64
test_reattachFunction · 0.64