Refactoring to have a factory method on DebugService

I do this mainly to avoid having to type
DebugService.new(params).new_debug everywhere. This method encapsulates
that behavior.