Add debug option to the service provider