Turns on debug for testing