Debug tool for ruby codes