rs: add some debug output

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>