Force portrait and add some debug code.