Remove now unused obsolete tools/debug.hxx functionality

Change-Id: I1bc585af8f0189dfa219bd42a5f09871a006c6ea