enable some debug code for trvis