debug reg to te;pl