How to debug rlm_perl in multithread?