add print info function, print debug of features