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

Method to_json

_pydevd_bundle/pydevd_json_debug_options.py:31–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 self.client_os = None
30
31 def to_json(self):
32 dct = {}
33 for s in self.__slots__:
34 dct[s] = getattr(self, s)
35 return json.dumps(dct)
36
37 def update_fom_debug_options(self, debug_options):
38 if "DEBUG_STDLIB" in debug_options:

Callers 3

write_requestMethod · 0.45
write_set_variableMethod · 0.45

Calls 1

dumpsMethod · 0.80

Tested by 2

write_requestMethod · 0.36
write_set_variableMethod · 0.36