test_feature - add debugpy option

This commit is contained in:
Andrej730
2025-11-10 16:45:50 +05:00
parent b10e5ad4d6
commit 2d97f6638b
+13
View File
@@ -1782,3 +1782,16 @@ def run_pdb():
import pdb
pdb.set_trace()
@given(parsers.parse("I start debugpy"))
@when(parsers.parse("I start debugpy"))
@then(parsers.parse("I start debugpy"))
def run_debugpy() -> types.NoneType:
import debugpy
debugpy.listen(5678)
debugpy.wait_for_client()
# Set a breakpoint here.
print("debugpy connected")