Use Services.prefs, if available
(#20)
Correct debug logs