Rewrite Debug to use strings

Attempt to rewrite the debug module code to properly use strings instead
of the complicated way I had it before.
Fix error

Fix the declaration so the rest of the code works right.