Extracted debug into module, including it