added tb debug console