mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
test_feature - add debugpy option
This commit is contained in:
@@ -1782,3 +1782,16 @@ def run_pdb():
|
|||||||
import pdb
|
import pdb
|
||||||
|
|
||||||
pdb.set_trace()
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user