effective tracing for plugin registry

Needs a debug preference guard but I can't make heads or tails of the preferences doc