Made seperate debug module.