add debug variable to config for database