I get my "debugged" vars printed both by debug utils and as a return val, so in case of dataclasses or big dicts (for which it fits the most) it eats all screen space.
Am I missing something or it works as expected?
Python 3.10.2 (main, Jan 29 2022, 02:55:36) [GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from devtools import debug
>>> debug({'a': 1, 'b': 2})
<stdin>:1 <module> (no code context for debug call, code inspection impossible)
{
'a': 1,
'b': 2,
} (dict) len=2
{'a': 1, 'b': 2}
I get my "debugged" vars printed both by
debugutils and as a return val, so in case of dataclasses or big dicts (for which it fits the most) it eats all screen space.Am I missing something or it works as expected?