add library debug