debugging console improvement