Added debug helper
Disable debug by default