Some debugging features

Signed-off-by: Bleska <blecha.jiri@gmail.com>