Allow setting debug in constructor to debug early