diff --git a/tractor/_root.py b/tractor/_root.py index 78a1be56..a70f1c39 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -155,7 +155,6 @@ async def maybe_block_bp( os.environ.pop('PYTHONBREAKPOINT', None) - @acm async def open_root_actor( *, @@ -186,6 +185,7 @@ async def open_root_actor( # enables the multi-process debugger support debug_mode: bool = False, maybe_enable_greenback: bool = False, # `.pause_from_sync()/breakpoint()` support + # ^XXX NOTE^ the perf implications of use, # https://greenback.readthedocs.io/en/latest/principle.html#performance enable_stack_on_sig: bool = False, diff --git a/tractor/runtime/_state.py b/tractor/runtime/_state.py index 11e0c0fd..1c019c76 100644 --- a/tractor/runtime/_state.py +++ b/tractor/runtime/_state.py @@ -140,7 +140,7 @@ _RUNTIME_VARS_DEFAULTS: dict[str, Any] = { # `debug_mode: bool` settings '_debug_mode': False, # bool 'repl_fixture': False, # |AbstractContextManager[bool] - + 'use_greenback': False, # `.pause_from_sync()`/`breakpoint()` 'use_stackscope': False, # trio-task-stack dumps on SIGUSR1