Add to pkg path and add more debug info