add debug in console