improved debug console