moved abPrintDb back into if-debug