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

Function expand

tests/debugpy/test_args.py:59–66  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

57 backchannel.send(sys.argv)
58
59 def expand(args):
60 if expansion != "expand":
61 return
62 log.info("Before expansion: {0}", args)
63 for i, arg in enumerate(args):
64 if arg.startswith("$"):
65 args[i] = arg[1:]
66 log.info("After expansion: {0}", args)
67
68 captured_run_in_terminal_args = []
69

Callers 2

run_in_terminalMethod · 0.85
test_shell_expansionFunction · 0.85

Calls 1

infoMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…