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

Method add

tests/debug/config.py:249–252  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

247 return key in self.config["debugOptions"]
248
249 def add(self, key):
250 opts = self.config.setdefault("debugOptions", [])
251 if key not in opts:
252 opts.append(key)
253
254 def discard(self, key):
255 opts = self.config.get("debugOptions", [])

Callers 3

scan_setup_pyFunction · 0.45
get_test_server_portFunction · 0.45
normalizeMethod · 0.45

Calls 2

setdefaultMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected