How to generate a HAR file for troubleshooting