Israel raised a record amount of debt last year to fund its multi-front war against Hamas and other Iran-backed militias.