Turn debug on for test diagnosis