doc debugging