Debugging Episerver Find Queries

Episerver Find is a powerful search platform for Episerver, but it can be somewhat difficult to debug issues with. There are many posts on Episerver World discussing debugging with Fiddler, but none that describe how to configure it. I recently forgot myself and had to look it up again.

Add (or merge) the following to your development web.config:

<system.net>
    <defaultProxy
      enabled = "true"
      useDefaultCredentials = "true">
      <proxy 
        autoDetect="false" 
        bypassonlocal="false" 
        proxyaddress="http://127.0.0.1:8888" 
        usesystemdefault="false" 
      />
    </defaultProxy>
    <settings>
      <servicePointManager
        checkCertificateName="false"
        checkCertificateRevocationList="false"
      />
    </settings>
  </system.net>

Enable Filder to listen on the port, by going to Fidler -> Tools -> Options -> Connections, and setting the port number. Make sure “Act as a system proxy on startup” is checked too.

If Fiddler is having trouble reading HTTPS requests/responses, you may need to reset Fiddler’s HTTPS certificates.