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

Method _process_request

tests/debugpy/test_args.py:146–154  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

144
145 class Session(debug.Session):
146 def _process_request(self, request):
147 if request.command == "runInTerminal":
148 # Capture the raw runInTerminal request before any processing
149 args_from_request = list(request.arguments.get("args", []))
150 captured_run_in_terminal_request.append({
151 "args": args_from_request,
152 "argsCanBeInterpretedByShell": request.arguments.get("argsCanBeInterpretedByShell", False)
153 })
154 return super()._process_request(request)
155
156 def run_in_terminal(self, args, cwd, env):
157 # Capture the processed args after the framework has handled them

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected