add missing require for defining DEBUG in ConfigDialog

fixes #336