How to get Console logs and HAR logs from the Chrome browser DevTools
To analyze logs in case of an issue with the application (ie. Black Screen), in addition to the logs that the application writes (from the Admin console), we will need to review HAR files and DevTools logs from the chrome browser.
These logs can provide information about the client-side script that runs the application.
First - open the DevTools window of Chrome by pressing F12 or:
To get the console logs:
If it’s a client-side error then it's important to see the console errors as shown.
Click on the Console and you will see the errors. Click on "Save as" for each row and save it + send a screenshot showing the console.
To get the HAR file:
Click on the Network tab and get Pyramid ready to reproduce the issue. Before you reproduce it - click on the clear button (red arrow) + tick the box Preserver logs and disable cache, then reproduce the issue. Then right-click on any of the rows and choose “save all as HAR content”
Hi, can you provide a similar walkthrough for the browser Firefox as it is more stable when developing in Pyramid?
I know that some colleagues from email@example.com would also be interested in this
- 2 Likes
- 1 yr agoLast active
- 2 Following