MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / write_initialize

Method write_initialize

tests_python/test_debugger_json.py:538–547  ·  view source on GitHub ↗
(self, success=True)

Source from the content-addressed store, hash-verified

536 return response
537
538 def write_initialize(self, success=True):
539 arguments = InitializeRequestArguments(
540 adapterID="pydevd_test_case",
541 )
542 response = self.wait_for_response(self.write_request(InitializeRequest(arguments)))
543 assert response.success == success
544 if success:
545 process_id = response.body.kwargs["pydevd"]["processId"]
546 assert isinstance(process_id, int)
547 return response
548
549 def write_authorize(self, access_token, success=True):
550 from _pydevd_bundle._debug_adapter.pydevd_schema import PydevdAuthorizeArguments

Callers 1

test_terminateFunction · 0.95

Calls 4

wait_for_responseMethod · 0.95
write_requestMethod · 0.95
InitializeRequestClass · 0.90

Tested by

no test coverage detected