add initialization debug code
Merge branch 'master' of https://github.com/RT-Thread/rt-thread