Added debug type to log table and frontend