Persist debug preferences