Use correct format for arguments in debug messages