add a debug dir to store the doc for debugging