Debugging ri-build