use the debug pref everywhere

s/hast/has/ The current version always throws, and sets the pref to false. :wink: