Run network DevTools in preview window

I was working on a website in IDX, and I wanted to test my pageload performance. Unfortunately, whenever you reload the preview using the button at the top, it shows this:
image
Is there any way to work around this error?