moved TermDebugger to TermUtils