tools for debug