debug wrapper for verbose output