Prepare build for portable runtime build

Add more debug logging to bootstrap sequence