Injecting the debug value and allowing it to be overridden from the query string.