I want to open this interface to look the source code or response, like below:
But, when I want to open the
localhost:8080/xxx's page, I found I do not able to open that, it is gray:
So, how to resolve it in Safari?
There's another way of showing the Web Inspector.
Right/Secondary click on a web page and select: Inspect Element or Review the elements.
The option is inactive because Safari doesn't understand the content type (MIME type) of the page or doesn't think it's HTML.
To open Web Inspector, use "Inspect Element" after right-clicking an element on the page, or open the Web Inspector on another page and then navigate to this page.