Implemented switching to debug mode.