Fix n error in setting the debug variable.