Always expose the debug module

debug_tests
Tyler Goodlet 2020-07-30 10:41:58 -04:00
parent abaa2f5da0
commit 68773d51fd
1 changed files with 4 additions and 1 deletions

View File

@ -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)