Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iisnode-debug response header #212

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

iisnode-debug response header #212

tjanczuk opened this issue Sep 11, 2012 · 1 comment

Comments

@tjanczuk
Copy link
Owner

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
  • ...
@tjanczuk
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant