adding debug state output for hanging config gen.