add indent logic to Debug

Add an indent system where users can increment or decrement the indent
level.
log operations will prepend tabs according to the indent level.