That was wrong.
Simplify the debug class.
Split up the helpers so life is easier to manage.