Add debugn processing