Adds debug flag to Base providers