Made support for attribute debugHandler in configuration work as expected.