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

Method request_launch

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

Source from the content-addressed store, hash-verified

785 )
786
787 def request_launch(self):
788 if "PYTHONPATH" in self.config.env:
789 # If specified, launcher will use it in lieu of PYTHONPATH it inherited
790 # from the adapter when spawning debuggee, so we need to adjust again.
791 self.config.env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)
792
793 # Adapter is going to start listening for server and spawn the launcher at
794 # this point. Server socket gets reported first.
795 self.expect_server_socket()
796
797 return self._request_start("launch")
798
799 def request_attach(self):
800 # In attach(listen) scenario, adapter only starts listening for server

Callers 1

launchFunction · 0.80

Calls 3

expect_server_socketMethod · 0.95
_request_startMethod · 0.95
prepend_toMethod · 0.45

Tested by

no test coverage detected