Convert debug setting from 0.7 alpha 1-3.

Follow-up to commit 1c5ba077e0deb1af25a5085aa6ed268a2f2600a9
Merge pull request #265 from loot/convert-debug-setting

Convert debug setting from 0.7 alpha 1-3.