Defun: add insert dbg txt