@simon The same works with Android and Chrome DevTools! It's massively helpful when you need it; that's about two times a year for me but then I really need it!
https://developer.chrome.com/docs/devtools/remote-debugging