Changed the debug flag to the constructor