Add more debug info into GenSec tool