Created debug mode.