Add ability to enable/disable debug with GSettings