title: Azure Snapshot Debugging and Azure Functions
body: <p>I've been trying to get Snapshot Debugging working with Azure functions all to no avail and was wondering if anyone else has had much joy with this.</p>
  
  <p>In essence it seems very simple to get working (and it does work for azure websites) and just involves included a reference to Microsoft.ApplicationInsights.SnapshotCollector.</p>
  
  <p>However, try as I might, I cannot get it working for Azure functions. I've tried adding the same reference and using the telemetry client with TrackException and sure enough the exception appears in the Insight blade of the Portal, but I just get the 'Collect debug snapshots...' link rather than the 'Open debug snapshot' one.</p>
  
  <p>thanks</p>