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

Method start

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

Source from the content-addressed store, hash-verified

502 self._start_channel(stream)
503
504 def start(self):
505 config = self.config
506 request = config.get("request", None)
507 if request == "attach":
508 host = config["connect"]["host"]
509 port = config["connect"]["port"]
510 self.connect_to_adapter((host, port))
511 return self.request_attach()
512 else:
513 raise ValueError(
514 f'Unsupported "request":{json.repr(request)} in session.config'
515 )
516
517 def request(self, *args, **kwargs):
518 freeze = kwargs.pop("freeze", True)

Callers 8

__init__Method · 0.45
factoryFunction · 0.45
__init__Method · 0.45
_invokeFunction · 0.45
listenMethod · 0.45
_captureMethod · 0.45
__init__Method · 0.45
_start_channelMethod · 0.45

Calls 3

connect_to_adapterMethod · 0.95
request_attachMethod · 0.95
getMethod · 0.45

Tested by 1

factoryFunction · 0.36