Created a debug mode