@fabpot @stof : it wouldn't with this helper class @b29ca150ffc53e23d85332103b35c9d0e466a44a, even though I still prefer the current way, I won't argue with this deprecation, the helper class is an acceptable compromise to me.

It remains that this is a BC break (about what a user currently expects from the debug flag), while the PR states it is BC, what about enabling the debug helper in here until 3.0? It doesn't register things several times anymore.