debug the edit view