iisnode-debug response header #212

Closed
tjanczuk opened this Issue Sep 11, 2012 · 1 comment

Comments

Projects
None yet
1 participant
Owner

tjanczuk commented Sep 11, 2012

Consider adding an optional x-iisnode-debug response header to the HTTP response with debugging information:

  • iisnode version
  • node version
  • PIDs
  • number of active requests
  • number of processes
  • processing time
  • initiating/regular request
  • hresult if error
  • ...
Owner

tjanczuk commented Sep 15, 2012

This the design:

  • A new configuration setting debugHeaderEnabled is introduced. The default value is false. If set to true, iisnode will add an HTTP response header iisnode-debug to every HTTP response it sends
  • The iisnode-debug header value is a URL. Individual pieces of diagnostic information can be gleaned by looking at the URL fragment, but a much better visualisation is achieved by opening the URL in the browser.

@tjanczuk tjanczuk closed this in cc0c516 Sep 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment