added debug configuration option