Log Javascript Errors In Chrome?
Solution 1:
I found Evaluating network performance in one of my researches and it might help you.
It mentioned about Network panel that automatically records all network activity while DevTools is open. And also uses the Resource Timing API, a Javascript that provides detailed networking timing data for each loaded resource and is available to any web page, not just DevTools.
Try this: open the JavaScript console on the current page, enter the following at the prompt, and hit Return:
window.performance.getEntries()[0]
This evaluates the first element in the array of resource timing objects and displays its properties in the console. However, please note that by default, the current network record log is discarded when you navigate to another page, or reload the current page.
More information on how to preserve the recording log in these scenarios can be found in the documentation. And, in addition to that, this SO post - How to use chrome's network debugger with redirects can also be quite useful.
Post a Comment for "Log Javascript Errors In Chrome?"