From 68773d51fd10c7e56499308f51d1ea4f3343d26a Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 30 Jul 2020 10:41:58 -0400 Subject: [PATCH] Always expose the debug module --- tractor/_actor.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tractor/_actor.py b/tractor/_actor.py index a02285f..3e244fa 100644 --- a/tractor/_actor.py +++ b/tractor/_actor.py @@ -206,8 +206,11 @@ class Actor: # will be passed to children self._parent_main_data = _mp_fixup_main._mp_figure_out_main() + # always include debugging tools module + rpc_module_paths.append('tractor._debug') + mods = {} - for name in rpc_module_paths or (): + for name in rpc_module_paths: mod = importlib.import_module(name) mods[name] = _get_mod_abspath(mod)