Added the possibility to add the debug config.