The Safari Web Inspector was the single most important tool to me while working on Ionic iOS applications. But on occasion, the debugger would just crash with no error message. It would act like it’s connecting to my phone and then it’d just be gone and then I’d feel a mixture of anger and panic — until I found a quick tip that almost always solves the problem.

The first thing I do is close every other app that’s running on my phone, per this comment on Stack Overflow. I just kill the background apps on my phone, and the web inspector starts working again.

The second thing I try is to use Safari Technology Preview instead of Safari. It seems like sometimes an iOS or Mac OS update will introduce a bug to Safari Web inspector, and fixes may hit the preview version first.