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

Function code_to_debug

tests/debugpy/test_input.py:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13def test_stdin_not_patched(pyfile, target, run, redirect_output):
14 @pyfile
15 def code_to_debug():
16 import sys
17 import debuggee
18 from debuggee import backchannel
19
20 debuggee.setup()
21 backchannel.send(sys.stdin is sys.__stdin__)
22
23 with debug.Session() as session:
24 session.config["redirectOutput"] = bool(redirect_output)

Callers

nothing calls this directly

Calls 2

inputFunction · 0.85
sendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…