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

Method run_in_terminal

tests/debug/session.py:595–602  ·  view source on GitHub ↗
(self, args, cwd, env)

Source from the content-addressed store, hash-verified

593 }
594
595 def run_in_terminal(self, args, cwd, env):
596 exe = args.pop(0)
597 if getattr(self, "_run_in_terminal_args_can_be_interpreted_by_shell", False):
598 exe = self._shell_unquote(exe)
599 args = [self._shell_unquote(a) for a in args]
600 self.spawn_debuggee.env.update(env)
601 self.spawn_debuggee(args, cwd, exe=exe)
602 return {}
603
604 @staticmethod
605 def _shell_unquote(s):

Callers 1

_process_requestMethod · 0.95

Calls 4

_shell_unquoteMethod · 0.95
spawn_debuggeeMethod · 0.95
popMethod · 0.80
updateMethod · 0.45

Tested by

no test coverage detected