add debug output

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>