add debug methods in LER

ah, it spends too much time...