Update the debug resizing functionality.