Search code examples
javascriptphpdebuggingiismicrosoft-edge

PHP response triggers HEX view in Edge debugger


PHP 8.0 on IIS 10.0.

I am calling a php api through fetch. An exception is triggered due to some issue with an SQL query in the php api, and normally I would get a 500 server error page followed by PHP's error reporting output.

However, now suddenly I get this HEX view which is not exactly helpful, and I am not sure what triggered it. No settings were changed in either php.ini or IIS config.

hex view

Any hint? Thanks


Solution

  • Well, it turns out there this tiny little dropdown on the bottom of the debugger

    ...

    Use it to switch from hex to utf to base64