Added mode debug info on crashing json