renamed debug publishers and moved them to the constructor.