enable scanner create/destroy debug
add debug logging on erlang side too