Created debug mode