add code to the debug post

Signed-off-by: Qu Xiaofeng <quxiaofeng.at.polyu@gmail.com>