The shadow chancellor was granted an urgent question in the House of Commons after a surge in government borrowing costs.