h2c can now be used to analyze HTTP/2 traffic from any Web browser.

wiretap

Example

h2c wiretap localhost:8443 example.com:443

This will listen for incoming connections on localhost port 8443, and forward the HTTP/2 traffic to example.com. All traffic will be printed to the console.

h2c is currently HTTPS only, plain text connections are not supported.