debug config option implementation