Debug the doc loading